Website stress testing

Source: Internet
Author: User
Tags install openssl

Website stress testing
Website stress testing tools
Use the siege tool for stress testing, which can be used for both http and https stress testing. Compilation Method

    wget http://download.joedog.org/siege/siege-latest.tar.gz    tar -zxvf siege-latest.tar.gz
Usage
 sudo apt-get install openssl openssh-server openssh-client libssl-dev sudo apt-get install gcc g++
Compilation Method
Cd siege-3.1.0/su root password input. /configure-with-ssl = Your opensslv. use the which command which openssl or use the find command find/usr-name openssl * make install
Usage
You can modify the configuration file vim ~ /. Siegerc: Modify the log configuration path sudo siege-c 500-r 200000-u "https: // domain name/interface/parameter "--- GET request sudo siege-c 500-r 200000-u" https: // domain name/interface POST parameter "the specific usage parameter is man siege
Result
Lifting the server siege.. done.Transactions: 1921 hitsAvailability: 65.38 %Elapsed time: 167.65 secsData transferred: 302.45 MBResponse time: 36.38 secsTransaction rate: 11.46 trans/secThroughput: 1.80 MB/secConcurrency: 416.80Successful transactions: 1921Failed transactions: 1017Longest transaction: 69.42Shortest transaction: 1.58

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.