The use of web stress test tool siege under Linux

Source: Internet
Author: User
Tags benchmark

Linux under the Web Stress test tool, the most commonly used should be the Apache AB, of course, there are many options. Webbench,http_load. Look at your personal hobbies. Recently, however, the most handy thing to use is siege.

Siege 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 a test URL or URL list file


3. Run up

Siege Www.jumei.com/test.php-b-r10-c400


Parameter description:

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

There is no delay between each request, and there is a-D parameter plus a delay, similar to the think time of some professional test tools

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

How many times each request is executed

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

Concurrent users

-F--file=file file, select a specific URLS file.


4. Implementation results


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



This article is from the "Candle Shadow Red" blog, be sure to keep this source http://gccmx.blog.51cto.com/479381/1579456

The use of web stress test tool siege under Linux

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.