Web site pressure and performance testing tool WebBench User Guide

Source: Internet
Author: User
Tags website performance
Web website performance stress testing tool WebBench is a well-known test tool for website stress developed by Lionbridge. Official homepage: http://home.tiscali.cz/~cz210552/webbench.html In the O & M work, the website pressure and performance test is... web website performance stress testing tool WebBench is a well-known test tool for website stress developed by Lionbridge. Official homepage: http://home.tiscali.cz/~cz210552/webbench.html In O & M, website stress and performance testing are very important. For example, before a website goes online, the quality of data indicators will directly affect the user experience. However, there is a commonality in the stress and performance tests, that is, the results of the stress and performance tests are not exactly the same as the actual load results, even if the stress and performance tests are doing well, it cannot be guaranteed that the 100% and online performance indicators are the same. In the face of these problems, we have to try our best to simulate them. Therefore, stress and performance testing are very necessary. with this data, we can be aware of our own maintenance platform. Web tracking can simulate up to 30 thousand concurrent connections to test the load capacity of the website. Web tracking can test the performance of different services on the same hardware and the running status of the same service on different hardware. The standard Web Bech Test shows two items of the server: the number of requests per second and the amount of data transmitted per second. Web tracking can not only test static pages, but also test dynamic Pages (ASP, PHP, JAVA, CGI. In addition, it supports static or dynamic performance tests for secure websites with SSL, such as e-commerce websites. Applicable to linux operating systems 1. WebBench installation: wget http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz Tar zxvf webbench-1.5.tar.gz cd webbench-1.5 make install supplement: install if a component is missing during installation, a directory is missing, and create it manually. 2. use WebBench: webbench-c 1000-t 60 http://192.168.1.188/test.php Webbench-c concurrency-t run test time URL 3. test result example: # webbench-c 300-t 60 http://192.168.1.188/test.php Webbench-Simple Web Benchmark 1.5 Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software. Benchmarking: GET http://192.168.80.157/phpinfo.php 300 clients, running 60 sec. speed = 24525 pages/min, 20794612 bytes/sec. requests: 24525 susceed, 0 failed. response requests per second: 24525/60 = X pages/sec. the data volume transmitted per second is 20794612 bytes/sec. when the concurrency is 1000, 87 failed connections are displayed, which means the connection is overloaded. # Webbench-c 1000-t 60 http://192.168.1.188/test.php Webbench-Simple Web Benchmark 1.5 Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software. Benchmarking: GET http://192.168.80.157/phpinfo.php 1000 clients, running 60 sec. speed = 24920 pages/min, 21037312 bytes/sec. requests: 24833 susceed, 87 failed. supplement: 1. stress and performance testing should be conducted before the product is launched, rather than after the product is launched. 2. concurrency during testing should gradually increase from small to small, for example, when the concurrency is 100, observe how much the website load is, whether the page is opened smoothly, what is the concurrency when the concurrency is 200, what is the concurrency when the website is opened slowly, and what is the concurrency when the website cannot be opened; 3. perform a page test in more detail. e-commerce websites can focus on shopping cart and promotion pages, because these pages account for a large proportion of the total site traffic. Note: When webbench performs stress and performance tests, the software also consumes CPU and memory resources. to test the accuracy, we recommend that you install webbench on other servers, more accurate test data has been achieved
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.