This repository has been archived by the owner. It is now read-only.
A HTTP benchmarking toolkit for CLI.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
.jshintrc
.travis.yml
Makefile
README.md
package.json

README.md

http-monster Build Status

I don't intend to maintain this repository. I made this as an excuse to play with node.js and CLI.

If you are really looking for an HTTP benchmarking tool, make sure to take a look at ab (Apache HTTP server benchmarking tool) and siege (An HTTP/HTTPS stress tester).

Install

$> [sudo] npm install http-monster -g

Basic usage

$> httpmon -n 15 -c 2 -v http://github.com

--help

Usage: httpmon [options] <url>

  Options:

    -h, --help                                             output usage information
    -V, --version                                          output the version number
    -n, --requests [num]                                   number of requests per client (default: 50)
    -c, --clients [num]                                    number of concurrent clients (default: 1)
    -m, --method [http method]                             http method (default: get)
    -a, --auth [username:password]                         http authentication
    -b, --body [param=value&param...]                      request body (postfields)
    -j, --json [{"key": "value"}] or [/path/to/file.json]  request body as JSON
    -q, --querystring [param=value&param...]               querystring parameters
    -t, --timeout [secs]                                   request timeout (default: 30)
    -s, --series                                           request in series
    -v, --verbose                                          verbose mode