@znewton/stress
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@znewton/stress

A small stress testing CLI tool.

Usage

# Send 5 requests to given url with 200ms between each
node dist/index.js --url http://localhost:3003/api/v1/ping --numRequests 5 --delayInMs 200
# Send 100 requests to url with 5ms between each, output status result of each request
node dist/index.js -u http://localhost:3000 -n 100 -d 5 -v

Readme

Keywords

none

Package Sidebar

Install

npm i @znewton/stress

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

79.8 kB

Total Files

25

Last publish

Collaborators

  • znewton