Apache AB pressure test fast use (no hard-to-learn technology, only LJ Tutorial)

Source: Internet
Author: User

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)

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.