Apache AP Concurrency Test Tool

Source: Internet
Author: User
Tags website performance

You can use the Apache httpd software package Ab.exe simple to do some website performance testing,

Ab.exe is a command tool, so you cannot double-click Run, run under cmd:

Ab.exe-n 1000-c http://localhost:8080/

Above-N is the number of requests, and-C is the number of concurrent

Some pages are logged in to request, we can also bring the cookie value in the past, one is to set the cookie directly:

Ab.exe-n 1000-c 50-c sessionid=xxxx http://xxxx

Use large C to set the cookie value, or you can set the cookie by using the SET request header:

Ab.exe-n 1000-c 50-h "Set-cookie:xxxxxxxxx" http://xxxx

Use-H to set the request header.

AB can also do post requests, detailed parameter reference

http://blog.csdn.net/kutejava/article/details/8891707

Apache AP Concurrency Test Tool

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.