Thursday, August 22, 2013

Lesser known Stress testing Utility - Siege

Siege is a HTTP/HTTPS Stress testing tool.

Here is the man page for it.

Here is short intro from the man page -

Siege is a multi-threaded http load testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress. It allows one to hit a web server with a configurable number of concurrent simulated users.


A basic command for testing a web app locally is
siege http://localhost:8000/?q=pants -c10 -t10s
c -> number of concurrent users
t -> time for running tests for.


Hope it was useful. 

No comments:

Post a Comment