0.0.3 • Published 10 years ago
node-load v0.0.3
node-load
A simple load-generator for node.js inspired by apache-bench(ab).
Installation
$ npm install node-load
Usage
$ node-load http://www.google.com
RPS,Duration
18,0.055
19,0.05131578947368421
19,0.05305263157894737
19,0.052368421052631585
19,0.05347368421052632
19,0.05026315789473684
20,0.0523
20,0.0495
20,0.05065
21,0.04895238095238095
18,0.05466666666666666
...
Automated CSV Export
The output is always in CSV format, so you can pipe your results to a CSV file.
$ node-load http://www.google.com > google.csv
Options
$ node-load --help
Usage: node-load [options] http://<url>[:PORT]
Options:
-h, --help output usage information
-V, --version output the version number
-c, --concurrency <n> Concurrent Requests