Skip to content
Sanne Albreghs edited this page Oct 17, 2022 · 3 revisions

Siege Testing

Siege is a HTTP load testing and benchmarking utility which can be used to measure the performance of a webserver. We can use this to test if our webserver can handle a big load of requests, test the response time of the server.

To run siege you need to install it, i.e. brew install siege.

To create a teplate config file .siegerc in your home dir run siege .config.

Run the siege test for 10 minutes on localhost: siege -b -t -v 10m localhost

Or use another port, for this you first need to turn on fullurl = true in the siege.conf file, and then run the siege test as following, i.e. on port 8080 : siege -b -t -v 3m http://localhost:8080