1.3.2 • Published 2 years ago

httpstress v1.3.2

Weekly downloads
2
License
BSD-2-Clause
Repository
github
Last release
2 years ago

httpstress

Http stress testing / benchmarking tool

screenshot

Installation

Just install with npm:

npm install -g httpstress

Usage

httpstress [options] <url>

Options:

  • -c, --clients <number> : number of clients to launch (default 100)
  • -F, --fail <status list> : Status numbers to consider as failure. Eg: '404,500'
  • -g, --graph : draw graph when running
  • -h, --help : print this help and exit
  • -H, --header <header> : Define a header as 'Key: value' pair. Note that you can specify this option multiple times. Eg: 'Content-Type: application/json'
  • -p, --post <data> : perform a POST request instead of a GET
  • -S, --success <status list> : Status numbers to consider as successful response. All other response status will be considered failures if this option is specified. This overrides -F.

Note: Since httpstress follows redirects, specifying status 3xx for the value of -F has no effect. Specifying 3xx for the value of -S will cause all responses to be treated as failures.

Example:

httpstress -g -c 100 \
  -H 'Cookie: session=12345' \
  -F '400,401,403,404,500' \
    http://example.com/test
  
1.3.2

2 years ago

1.3.1

2 years ago

1.2.2

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago