2021-01-08 13:40:46 +00:00
|
|
|
# siege
|
|
|
|
|
|
|
|
> HTTP loadtesting and benchmarking tool.
|
|
|
|
> More information: <https://www.joedog.org/siege-manual/>.
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Test a URL with default settings:
|
2021-01-08 13:40:46 +00:00
|
|
|
|
|
|
|
`siege {{https://example.com}}`
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Test a list of URLs:
|
2021-01-08 13:40:46 +00:00
|
|
|
|
|
|
|
`siege --file {{path/to/url_list.txt}}`
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Test list of URLs in a random order (Simulates internet traffic):
|
2021-01-08 13:40:46 +00:00
|
|
|
|
|
|
|
`siege --internet --file {{path/to/url_list.txt}}`
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Benchmark a list of URLs (without waiting between requests):
|
2021-01-08 13:40:46 +00:00
|
|
|
|
|
|
|
`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}}`
|