Webbench of performance testing tools

Source: Internet
Author: User

First, Introduction

The Webbench is a very simple stress test tool used under Linux. The principle is that Webbench first fork out many sub-processes, each of which iterates over the Web Access test. The child process tells the parent process the result of the visit through the pipe, and the parent process makes the final statistical result. Webbench can simulate up to 30,000 concurrent connections to test the load capacity of the Web site.

Second, installation

1. Decompression

2. Compiling

3. Install the compilation environment

4. Compiling and installing

The Webbench file was generated and installed successfully

Third, the use

1. Parameter description

-T: Time to run Webbench-C: Number of child processes, that is, number of concurrent-F: Do not wait for return results-H: Help 2. Operation and Results100 Concurrent, running 10 sec Speed: Response requests per second: 5844 Pages/min, the amount of data transferred 11842144 bytes/sec per second.
Number of returns: 974 return success, 0 return failure

Iv. Summary

1, Webbench is a test tool similar to Apache AB, only responsible for sending requests, do not receive the return value

2. Common Parameters-C and-T represent how much time to run concurrently

3. The susseed returned by its result does not mean that the request was successful, such as:

Enter a non-existent website, the result is still have 479 susceed

4, the actual testing process, we can only go to the log to see if the server received so many requests. You can allow development to insert a flag in the code, as long as the access is successful and will be printed in the log. The number of successful requests is then calculated by the number of occurrences of the flag, divided by the elapsed time to obtain TPS

5, Webbench support the concurrency is very large, for this kind of access to the site class without parameters of the request, compared to LoadRunner and JMeter can save a lot of load machine, usually using a multi-core CPU server can.

6, using the Webbench test, test results and CPU cores, Hertz number, buffer is closely related, the larger the test results will be better.

Webbench of performance testing tools

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.