1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/siege.md
Sam James 76db7af9d4
siege: add page (#5028)
* siege: add page

* fix: Added token syntax & made more consistent with other pages

* Apply suggestions from code review

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Fix "More nformation" link syntax

Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
2021-01-08 08:40:46 -05:00

682 B

siege

HTTP loadtesting and benchmarking tool. More information: https://www.joedog.org/siege-manual/.

  • Test a url with default settings:

siege {{https://example.com}}

  • Test a list of urls:

siege --file {{path/to/url_list.txt}}

  • Test list of urls in a random order (Simulates internet traffic):

siege --internet --file {{path/to/url_list.txt}}

  • Benchmark a list of urls (Dont wait between requests):

siege --benchmark --file {{path/to/url_list.txt}}

  • Set the amount of concurrent connections:

siege --concurrent={{50}} --file {{path/to/url_list.txt}}

  • Set how long for the siege to run for:

siege --time={{30s}} --file {{path/to/url_list.txt}}