< Data Platform < Systems
Data Platform/Systems/Siege
Siege
Siege is a unix tool to do load testing of http endpoints.
Docs
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
This article is issued from Wikimedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.