From Wikitech
(Redirected from Analytics/Siege)
Jump to navigation Jump to search


Siege is a unix tool to do load testing of http endpoints.


Getting started

Install siege and on your home directory and edit the file where is the tool logging to:

  • Create siege config (will create .siegerc)
> siege.config
  • See Siege config
> siege -C
  • Edit where log can be found on .siegerc


To test: 25 simulated users [ -c25 ] each hit the server with 10 repetitions [ -r10 ], a total of 250 transactions.

> siege -c 25 -r 10 --file=small-test.txt --log