Benchmark and Testing
Table of Contents

Apache Benchmark

sudo apt-get install apache2-utils
ab -n 1000 -c 5 http://www.stackoverflow.com/

Siege

mahmood@mahmood-Latitude-E6410:~$ siege -c5 -d10 -r1 -v http://jira.tu.no/browse/TU-2363
** SIEGE 2.70
** Preparing 5 concurrent users for battle.
The server is now under siege...
HTTP/1.1 404   0.10 secs:     242 bytes ==> /browse/NG-2363
HTTP/1.1 404   0.10 secs:     242 bytes ==> /browse/NG-2363
HTTP/1.1 404   0.00 secs:     242 bytes ==> /browse/NG-2363
HTTP/1.1 404   0.00 secs:     242 bytes ==> /browse/NG-2363
HTTP/1.1 404   0.00 secs:     242 bytes ==> /browse/NG-2363
done.
Transactions:                   5 hits
Availability:              100.00 %
Elapsed time:                4.00 secs
Data transferred:            0.00 MB
Response time:                0.04 secs
Transaction rate:            1.25 trans/sec
Throughput:                0.00 MB/sec
Concurrency:                0.05
Successful transactions:           0
Failed transactions:               0
Longest transaction:            0.10
Shortest transaction:            0.00
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License