1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/common/siege.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

28 lines
688 B
Markdown

# 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 (without waiting 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}}`