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 16:13:41 -04:00
|
|
|
- Test a URL with default settings:
|
2021-01-08 13:40:46 +00:00
|
|
|
|
|
|
|
`siege {{https://example.com}}`
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Test a list of URLs:
|
2021-01-08 13:40:46 +00:00
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`siege {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2021-01-08 13:40:46 +00:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Test list of URLs in a random order (Simulates internet traffic):
|
2021-01-08 13:40:46 +00:00
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`siege {{[-i|--internet]}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2021-01-08 13:40:46 +00:00
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Benchmark a list of URLs (without waiting between requests):
|
2021-01-08 13:40:46 +00:00
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`siege {{[-b|--benchmark]}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2021-01-08 13:40:46 +00:00
|
|
|
|
|
|
|
- Set the amount of concurrent connections:
|
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`siege {{[-c|--concurrent]}} {{50}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2021-01-08 13:40:46 +00:00
|
|
|
|
|
|
|
- Set how long for the siege to run for:
|
|
|
|
|
2025-05-03 05:57:20 +03:00
|
|
|
`siege {{[-t|--time]}} {{30s}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|