node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



Simple Get benchmark command line similar to Apache Bench

Usage: index.js,nab,benchget [options]


-h, --help                output usage information
-V, --version             output the version number
-n, --num_requests [num]  Number of total requests (n)
-c, --concurrent [num]    Number of concurrent requests
-o, --out [filepath]      Write responses to [output] as json

Url to hit is the last parameter

Example: nab -n 10 -c 5 -o output.json ""

Example: benchget -n 10 -c 5 -o output.json ""

Example: node index.js -n 10 -c 5 -o output.json ""