Use the AB command on the Apache server for stress testing

Source: Internet
Author: User
AB is a performance testing tool for Apache Hypertext Transfer Protocol (HTTP. It is designed to describe the execution performance of the currently installed Apache, mainly to show how many requests can be processed per second by your installed Apache. # AB-v can see its basic information # ab-n1000-c10: 81t. php: this is a basic command-n1000 indicates that the total number of requests is 1000-0

AB is a performance testing tool for Apache Hypertext Transfer Protocol (HTTP. It is designed to describe the execution performance of the currently installed Apache, mainly to show how many requests can be processed per second by your installed Apache. # AB-v shows the basic information # AB-n1000-c10: 81/t. php: this is a basic command-n1000 indicates that the total number of requests is 1000-0

AB is a performance testing tool for Apache Hypertext Transfer Protocol (HTTP. It is designed to describe the execution performance of the currently installed Apache, mainly to show how many requests can be processed per second by your installed Apache.

# AB-v shows the basic information.

# AB-n1000-c10: 81/t. php

This is a basic command

-N1000 indicates that the total number of requests is 1000

-0 indicates that the number of concurrent users is 10.

Parameter description:

Concurrency Level: number of concurrent users;

Time taken for tests: total Time spent on request processing;

Complete requests: Total number of requests;

Failed requests: number of Failed requests;

Total transferred: Total length of all request response data;

HTML transferred: Sum of text data in all request response data;

Requests per second: it is a data that we are very concerned about. Some people call it "throughput". Requests per second = Complete requests/Time taken for tests

Time per request: average request wait Time;

Transfer rate: the length of data these requests obtain from the server per unit of time.

# AB-c l-n 10000

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.