node-stress
Light weight Node.js module to apply specified load on a REST API and retrieve the response statistics. I gives the counts of good,bad and errored responses along with the time taken to process them all.
Installation
npm install node-stress
Usage
var stress = ;;
Parameters
host - the url of the REST API after stripping down the starting http://. For more info check the input parameter for the node sample http request. port - port at which the REST API runs path - path to the page we are sending request
RequestCount - the load to be applied in number (eg:1000)