commands.sh

siege

all

HTTP loadtesting and benchmarking tool.

More info →

Options (5)

-f, --fileboolean

Test a list of URLs

Example: siege {{[-f|--file]}} {{path/to/url_list.txt}}
-i, --internetboolean

Test list of URLs in a random order (Simulates internet traffic)

Example: siege {{[-i|--internet]}} {{[-f|--file]}} {{path/to/url_list.txt}}
-b, --benchmarkboolean

Benchmark a list of URLs (without waiting between requests)

Example: siege {{[-b|--benchmark]}} {{[-f|--file]}} {{path/to/url_list.txt}}
-c, --concurrentboolean

Set the amount of concurrent connections

Example: siege {{[-c|--concurrent]}} {{50}} {{[-f|--file]}} {{path/to/url_list.txt}}
-t, --timeboolean

Set how long for the siege to run for

Example: siege {{[-t|--time]}} {{30s}} {{[-f|--file]}} {{path/to/url_list.txt}}

Examples (6)

Test a URL with default settings

siege https://example.com

Test a list of URLs

siege [-f|--file] path/to/url_list.txt

Test list of URLs in a random order (Simulates internet traffic)

siege [-i|--internet] [-f|--file] path/to/url_list.txt

Benchmark a list of URLs (without waiting between requests)

siege [-b|--benchmark] [-f|--file] path/to/url_list.txt

Set the amount of concurrent connections

siege [-c|--concurrent] 50 [-f|--file] path/to/url_list.txt

Set how long for the siege to run for

siege [-t|--time] 30s [-f|--file] path/to/url_list.txt
made by @shridhargupta | data from tldr-pages