mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 11:42:08 +02:00

* pages*: refine wording --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
723 B
723 B
ab
Apache HTTP server benchmarking tool. More information: https://httpd.apache.org/docs/current/programs/ab.html.
- Execute 100 HTTP GET requests to a given URL:
ab -n 100 {{url}}
- Execute 100 HTTP GET requests, in concurrent batches of 10, to a URL:
ab -n 100 -c 10 {{url}}
- Execute 100 HTTP POST requests to a URL, using a JSON payload from a file:
ab -n 100 -T {{application/json}} -p {{path/to/file.json}} {{url}}
- Use HTTP [k]eep-Alive, i.e. perform multiple requests within one HTTP session:
ab -k {{url}}
- Set the maximum number of seconds ([t]imeout) to spend for benchmarking (30 by default):
ab -t {{60}} {{url}}
- Write the results to a CSV file:
ab -e {{path/to/file.csv}}