Configuring Siege HTTP Load Testing Utility in Linux
Once you have completed the installation, you can adjust your siege configuration file. It is located in /etc/siege/siegerc. In case you have decided to build the package from source, you will have to run:
Testing Website Load with Siege Benchmarking Utility
Run Siege Against Multiple Websites
siege -f /usr/local/etc/urls.txt
To generate an url list you van use fetchurl: https://github.com/adelerhof/tooling/tree/master/fetchurls
Command line options
You can also use command line options, if you want to try different settings from the ones described in the configuration file.
-C – specify your own configuration file.
-q – suppresses siege’s output.
-g – GET, pull down HTTP headers and display the transaction. Useful for debugging.
-c – the number of concurrent users, default is 10.
-r – how many times to run the test.
-t – how much time to run the test. You can specify S, M, or H ex: –time=10S for 10 seconds.
-d – random delay before each request.
-b – no delays between requests.
-i – user simulation. Uses to hit random URLs.
-f – test URLs from specified file.
-l – log file.
-H – Add a header to request.
-A – specify a user agent.
-T – Sets Content-Type in request.
--no-parser – NO PARSER, turn off the HTML page parser.
--no-follow – do not follow HTTP redirects.