Table of contents (without the direct brushing you want, here is the example of window)
- How to download AB
- How to use AB
- AB Common Parameters Introduction
- AB pressure test encounter pit look here
first, how to download AB
1. Download (http://httpd.apache.org/) process from the official website to download the following suggestions
The first step
Step Two
Step Three
Fourth Step
All right, here we go, the download is ok (ab hides under Apache24/bin, this tool can be singled out for use, not dependent on anything )
second, how to use AB
1. Enter below the Apache24/bin and you will see the following scenes.
Windows + R Jian Open Run Command box input cmd open cmd "Black window", switch to the above directory (will not switch Baidu cmd command)
Run and return as follows
three, AB Common parameters Introduction
-N: Total number of requests executed, default is 1;
-C: Concurrency number, default is 1;
-T: Total time to test, seconds, default 50000s
Data files when-p:post
-W: Output results in HTML table format
four, AB pressure measurement encountered in the pit
1. When using AB to test the Tomcat Server Web project
The reason for this is Tomcat's connection protocol, and the retrofit is OK.
Go to Tomcat's apache-tomcat-7.0.79\conf directory, modify the Server.xml file, locate the connector node, and modify the following
Apache AB pressure test fast use (no hard-to-learn technology, only LJ Tutorial)