Siege is an open source regression test and benchmark utility. It can stress test a single URL with a user defined number of simulated users, or it can read many URLs into memory and stress them simultaneously. The program reports the total number of hits recorded, bytes transferred, response time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1 protocols, the GET and POST directives, cookies, transaction logging, and basic authentication. Its features are configurable on a per user basis.



siege [options]
siege [options] URL
siege -g URL


 -V, --version                   VERSION, prints the version number.
 -h, --help                      HELP, prints this section.
 -C, --config                    CONFIGURATION, show the current config.
 -v, --verbose                   VERBOSE, prints notification to screen.
 -q, --quiet                     QUIET turns verbose off and suppresses output.
 -g, --get                       GET, pull down HTTP headers and display the transaction. Great for application debugging.
 -c, --concurrent=NUM            CONCURRENT users, default is 10
 -i, --internet                  INTERNET user simulation, hits URLs randomly.
 -b, --benchmark                 BENCHMARK: no delays between requests.
 -t, --time=NUMm                 TIMED testing where "m" is modifier S,M,or H. ex: --time=1H,one hour test.
 -r, --reps=NUM                  REPS, number of times to run the test.
 -f, --file=FILE                 FILE, select a specific URLS FILE.
 -R, --rc=FILE                   RC, specify an siegerc file
 -l, --log[=FILE]                LOG to FILE. If FILE is not specified,the default is used: /var/siege.log
 -m, --mark="text"               MARK, mark the log file with a string.
 -d, --delay=NUM                 Time DELAY, random delay before each requst between 1 and NUM.(NOT COUNTED IN STATS)
 -H, --header="text"             Add a header to request (can be many)
 -A, --user-agent="text"         Sets User-Agent in request
 -T, --content-type="text"       Sets Content-Type in request


[email protected]cyborg:~$ siege -g
Accept: */*
User-Agent: Mozilla/5.0 (pc-x86_64-linux-gnu) Siege/3.0.5
Connection: close

HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Thu, 10 Sep 2015 12:03:36 GMT
Content-Type: text/html
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PHPSESSID=c04afad56abc25a2544ae3b3103f065a; path=/


Leave a reply


We're are building as a community and a team. Be a part of it.


©2018 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?