Web pressure measurement, webbench installation test

Source: Internet
Author: User

System CentOS


Compile and install:

wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz

Tar zxvf webbench*-c/opt/

cd/opt/webbech*

Make && make install


PS: Sometimes you need to configure Host,vim/etc/hosts


Error 1:

Ctags *.c

/bin/sh:ctags:command not found

Yum-y Install Ctags

Error 2:

Cc:command not found

Yum-y Install GCC

Error 3:

Cannot create regular file '/usr/local/man/man1′: No such file or directory

Mkdir-m 644-p/usr/local/man/man1


Test:

Webbench-c 500-t http://dev.xx.com:8080

-C represents the number of concurrent,-T represents the test time

Webbench-simple Web Benchmark 1.5

Copyright (c) Radim Kolar 1997-2004, GPL Open Source software.

Benchmarking:get Http://localhost:12345/test

Clients, running-Sec.

speed=414996 pages/min, 490915 bytes/sec.

Requests:207430 Susceed, failed.

Response Requests per second: 414996/60= X pages/sec, the amount of data transferred 490915 bytes/sec per second.

0 Connection failed have been shown, indicating no load.


Add:

1, pressure and performance testing should be put on the product before the launch, rather than on-line after;
2, the test concurrency should be gradually increased by the small, such as 100 when observing the site load is how much, open the page is fluent, concurrency 200 is how much, the website is slow when the concurrency is how much, the site is not open when concurrency is how much;
3, a more detailed test of a page, such as e-commerce website can focus on testing shopping carts, promotional pages, etc., because these pages accounted for the overall site visits a large proportion.

Note: Webbench do stress and performance testing, the software itself will also consume CPU and memory resources, in order to test the accuracy, it is recommended to install Webbench on other servers, has reached the test data more accurate.




Web pressure measurement, webbench installation test

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.