2.3.2 • Published 6 years ago

http-swissknife v2.3.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

node-http-swissknife

Install it

npm install -f http-swissknife

Run it

Sends 100 requests to http://www.google.is with 10 concurrents

httpsn -n 100 -c 10 http://www.google.is/

Sends 10 concurrent requests from a list of URLs on list_of_urls.txt

httpsn -m file -c 10 list_of_urls.txt

Receives a list or URLs on the standard input and requests them (no number of concurrent requests)

cat some_list_of_urls.txt | httpsn -m file -w 1000 -

Supported options

  • -m url|file or --mode=url|file: Sets the running mode:
    • url: Tests a single URL. The URL must be supplied as a parameter (the default mode);
    • file: Reads the URLs from a file or standard input (if the file name is a - dash).
  • -n N or --number=N: Sets the number of requests to perform (defaults to 1 on the url and to infinite on the file mode)
  • -c C or --concurrents=C: Sets the number of concurrent requests (defaults to 1)
  • -w W or --wait=W: Defines a wait time between requests (in ms) (not set by default)
  • -S or --no-stream-pause: If reading from a file, when the number of concurrent requests is hit, keeps reading and queuing into memory.
2.3.2

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.6

6 years ago

2.2.5

6 years ago

2.2.4

7 years ago

2.2.3

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.0

8 years ago