Use of the Web stress testing tool Siege in Linux

Source: Internet
Author: User

Use of the Web stress testing tool Siege in Linux

In Linux, the most common Web stress testing tool is apache AB. Of course there are many options to choose from. Webshells, http_load. It depends on your hobbies. However, recently, siege is the best choice.

Siege official website address http://www.joedog.org/

Latest Version 3.0.8, http://download.joedog.org/siege/

1. Installation

Wget http://download.joedog.org/siege/siege-3.0.8.tar.gz

Tar xzvf siege-3.0.8.tar.gz

Cd siege-3.0.8

./Configure

Make & make install

2. Prepare the url or url list file for testing.

3. Run

Siege www.bkjia.com/test.php-B-r10-c400

Parameter description:

-B -- benchmark BENCHMARK: no delays between requests.

There is no latency between each request, and there is also a-d parameter plus latency, similar to the thinking time of some professional testing tools

-R -- reps = num reps, number of times to run the test.

Number of times each request is executed

-C -- concurrent = num concurrent users, default is 10

Concurrent users

-F -- file = FILE, select a specific urls file.

4. Execution result

Transactions: 3915 hits
Availability: 97.88%
Elapsed time: 43.73 secs
Data transferred: 706.12 MB
Response time: 2.90 secs
Transaction rate: 89.53 trans/sec
Throughput: 16.15 MB/sec
Concurrency: 259.48
Successful transactions: 3915
Failed transactions: 85
Longest transaction: 37.70
Shortest transaction: 0.05

Siege details: click here
Siege: click here

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.