项目作者: guppy0130

项目描述 :
makes a lot of requests very quickly
高级语言: JavaScript
项目地址: git://github.com/guppy0130/stressor.git
创建时间: 2019-07-27T08:58:17Z
项目社区:https://github.com/guppy0130/stressor

开源协议:

下载


Stressor

makes a lot of requests very quickly

Usage

  1. $ node index.js
  2. Usage: index.js -u <url> [options]
  3. Options:
  4. --url, -u absolute url to connect to [required]
  5. --method, -m type of HTTP request to make
  6. [choices: "GET", "POST"] [default: "GET"]
  7. --count, -c how many times to make the request [default: 1]
  8. --sequential, -s make requests one after another instead of all at once
  9. [boolean]
  10. --timeout, -t abort requests that take longer than this in ms
  11. [number] [default: 5000]
  12. --verbose, -v increase verbosity level [count]
  13. --help, -h Show help [boolean]
  14. --version Show version number [boolean]
  15. Examples:
  16. node index.js -u http://google.com Make 1 GET request to http://google.com
  • 4 (0-3) verbosity levels
  • Prints out counts of returned status codes and timings at the minimum