Simple website stress testing tool webbench

Source: Internet
Author: User
There are many website stress testing tools, linuxVPS learners have previously written two powerful website stress testing tools: test Web engine performance using apacheloud and http_load. however, they have many functions and complicated operations. The webbench operation is very simple. You can simulate up to 30 thousand concurrent connections to test the website load, and the effect is more intuitive and easy to use. 1. Obtain webshells

There are many website stress testing tools, linuxVPS learners have previously written two powerful website stress testing tools: test Web engine performance using Apache fuse and test Web engine performance using http_load. however, they have many functions and complicated operations. The webbench operation is very simple. You can simulate up to 30 thousand concurrent connections to test the website load, and the effect is more intuitive and easy to use.

 


1. Obtain webshells
1. Download
wget http://www.centoscn.com/tool/webbench-1.5.tar.gz

2. decompress and compile
Yum install-y gcc ctags # first install the components required for compilation tar zxvf webbench-1.5.tar.gz # unzip the Webbenchcd webbench-1.5 # enter the webbench directory make & make install # compile and install


Ii. Usage
webbench -c 100 -t 30 http://www.kwx.gd/

Run the preceding commands in SSH format.

-C: Number of threads (up to 30000 threads)
-T: duration (seconds)


Iii. view results
[Root@kwx.gd webbench-1.5] # webbench-c 100-t 30 http://www.kwx.gd/#to www.kwx.gdinitiator 100thread request, with a duration of 30 seconds. Webbench-Simple Web Benchmark 1.5 Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software. benchmarking: GET http://www.kwx.gd/100 clients, running 30 sec. #100 connections, running for 30 seconds Speed = 604 pages/min, 194290 bytes/sec. # speed, 604 pages/minute, 194290 Bytes/second Requests: 276 susceed, 26 failed. # number of responses, 276 normal responses, 26 failed responses

Related Article

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.