2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`siege {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Test list of URLs in a random order (Simulates internet traffic):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`siege {{[-i|--internet]}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Benchmark a list of URLs (without waiting between requests):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`siege {{[-b|--benchmark]}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set the amount of concurrent connections:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`siege {{[-c|--concurrent]}} {{50}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set how long for the siege to run for:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`siege {{[-t|--time]}} {{30s}} {{[-f|--file]}} {{path/to/url_list.txt}}`
|