Jump to content

Data Platform/Systems/Siege

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Siege

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

Docs

https://www.joedog.org/siege-home/

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

Example

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