Web performance stress testing tool Siege use tutorial

  • 2020-05-13 03:56:22
  • OfStack

Siege is a multithreaded http load testing and benchmarking tool. By using the capabilities provided by Siege, it is easy to plan a test: this includes specifying the number of concurrent users and the number of replicates that can be used to simulate the loading of servers, networks, or other objects to test the compression capabilities of their services, and to test the performance of servers.
The official download address: http: / / www joedog. org/pub siege /

Siege installation:

#wget http://www.joedog.org/pub/siege/siege-latest.tar.gz
#tar -xzvf siege-latest.tar.gz
#./configure; make
#make install

Description of Siege parameters:
Transactions: total number of tests
Availability: percentage of success
Elapsed time: how many seconds total
Data transferred: total data transfer
Response time: wait until the response takes time
Transaction rate: average number of requests per second
Throughput: throughput
Concurrency: maximum concurrency
Successful transactions: number of successful requests
Failed transactions: number of failed requests

Siege use:
siege -c 10 -r 20 -f url.txt -i -b

Results:
Transactions: 200 hits
Availability: 100.00 %
Elapsed time: 9.87 secs
Data transferred: 0.46 MB
Response time: 0.45 secs
Transaction rate: 20.26 trans/sec
Throughput: 0.05 MB/sec
Concurrency: 9.11
Successful transactions: 82
Failed transactions: 0
Longest transaction: 3.08
Shortest transaction: 0.25

Results:
Transactions: total number of tests
Availability: percentage of success
Elapsed time: how many seconds total
Data transferred: total data transfer
Response time: wait until response time
Transaction rate: average number of requests per second
Throughput: throughput
Concurrency: maximum concurrency
Successful transactions: number of successful requests
Failed transactions: number of failed requests


Related articles: