siege Web-site benchmark tool
siege
Run the benchmark siege test to simulate 50 clients accessing 10 random cached pages.
siege -b -c 50 -r 10 -i -f urls_list.txt
- -b benchmark mode, no delay between intereation
- -c <num> concurrent number of concurrent users
- -r repititions - tells how many times each user should run
- -i internet mode, read URLs from urls.txt file in random order
- -d <seconds> delay between page request, can be 0.1
- -m "<string>" log message to log file for this run
- -f <file> path to file with URLs one per line unlike command line argument the URLs in the file or not quoted
-
The file also supports UNIX-style commenting:
# Comment looks like this
https://www.joedog.org/
https://www.joedog.org/haha/
https://www.joedog.org/haha/ POST homer=simpson&marge=doestoo
-
<scheme>://<username>:<password>@<hostname>:<port>/<path> POST <query>
-