Stress test library for Node JS
$ npm install stress-node
var stress = ;;
Both functions will receive a report object that looks like this:
url: ''ok: 990fail: 5completed: 995ongoing: 4pending: 1total: 1000start: object Dateend: object Dateresponses:status:200 amount: 990errors:code: 'ECONNREFUSED' amount: 4code: 404 amount: 1
I also made a CLI server that runs a stress test using this library.
Go check it out at https://github.com/flesler/stress-node-server.
timeoutsetting doesn't seem to be working correctly