Web Performance test Tool: Siege Installation & Usage Introduction

Source: Internet
Author: User
Tags rounds

In the Web Performance test tool, Siege is the more popular and common, it has the features of simple installation, easy to use, and detailed test reports.

And you can pre-define a series of URL simulations to be tested in the text, and you can set a constant time or test for a certain amount of concurrency.

It is more suitable to determine the system performance benchmarks in real-world environments.

1. Download the installation package

Skip Over

2. Unzip the installation package

Skip Over

3. Compiling

# View installation options./configure--help# Set installation options./configure--prefix=/your/installation/directory # compile make# install make install

4. Detailed parameters

  -V,--version             Display Siege version number-  h,--help                display siege help information  -C,--config              Show current configuration options  -V,--verbose             Show detailed test process-  Q,--quiet               quiet mode, does not show detailed procedures, also does not display output results-  g,--get                 get mode, display HTTP header information-  C,--concurrent=num      concurrency number, default ten-I  ,--internet            analog user number, random click URL-  B,--benchmark           test mode, no delay between each request-  T,--time= Numm           test Duration, S, M, H. For example 1H one hour  -R,--reps=num            test rounds (not total requests)-  F,--file=file           URL file location-  R,--rc=file             configuration file location -  L,--log[=file]          log file output location-  m,--mark= "text"         log file marked  -D,--delay=num           delay, random delay between requests 1~ Set Value Ms  -H,--header= "text"       custom additional request header  -A,--user-agent= "text"   Custom request Header user-agent Information-  T,-- Content-type= "text" Custom Request header Content-type information

5. Common commands

# Quiet mode, test mode, 1000 concurrent, 5 rounds (total 1000 * 5 requests) test address http://127.0.0.1/test.php and output logs to./siege.log/usr/local/siege-3.0.7/bin/siege -q-b-c1000-r5--log=./siege.log  "http://127.0.0.1/test.php"

Web Performance test Tool: Siege Installation & Usage Introduction

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.