Siege

Siege is an HTTP and HTTPS load testing tool.

A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github

Basic usage

Basic usage

siege -b -c=10 -t=5m "http://..."

Options

Options

Repetitions

-c, --concurrent=N
-t, --time=MINSm
-r, --reps=N

Modes

-i, --internet       Hit URLs randomly
-b, --benchmark      No delay between requests

Configuration

-f, --file=FILE      load urls.txt
-R, --rc=FILE        load siegerc

Headers

-H, --header="Cookie: foo=bar"
-A, --user-agent="Mozilla"
-T, --content-type="text/html"