Testing web-server or site utility Siege

Siege utility allows you to perform multi-threaded load testing web-servers via HTTP methods GET and POST. With this tool, you can simulate concurrent requests to the web server (website) for a predetermined time intervals and without. Following the results of the test results are displayed on the screen.

Install the siege will not be difficult for debian, for example, it will be as follows:
# Apt-get install siege

Proceed directly to the case, test the Web site server test.ru:
# Siege -b -v -c -r 30 800 http://test.ru/

The options are:
-b – no pause between requests
-c – the number of concurrent requests that are sent at one time
-r – the number of repetitions request
-v – displays the current requests and responses in the console

You can not specify the total number of requests that will be made to the server, and the time during which the test will go:
# Siege -b -v -c 30 -t 1h -i -f /data/urls.txt

-t – during the test, it is possible to use h, m, s
-f – a list of URL-s from a file
-i – take ULR-s from a file randomly

Some more options:
-V – Version siege
-h – help
C – Content default configuration file $ HOME / .siegerc
-d [number] – each thread (request) will sleep for a while from 0 to [number]
-h HEADER – allows you to pass parameters in the header
Lit in the “Internet”
-A “User Agent” – indicates own User Agent