Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 714 Bytes

README.md

File metadata and controls

34 lines (29 loc) · 714 Bytes

rodio.js

rodio-http is a simple HTTP benchmarking tool.

Help

node rodio --help

Options

-h, --help             output usage information
-V, --version          output the version number
-t, --time <n>         Total time to elapse (seconds)
-c, --concurrency <n>  Number of concurrent requests (requests/second)
-x, --post <s>         POST parameters in quoted querystring form ( e.g. "foo=1&baz=2" )
-h, --host <s>         HTTP host to request in quotes

Example

Input
node rodio -t 5 -c 1 -x "foo=1&baz=2" -h "http://www.google.com"
Output
Elapsed Time: 5 seconds
Concurrency: 1 request/second

To-Dos

  • Error Handling
  • Unit Tests
  • Documentation