Configuring Apachebench (AB) stress testing under Windows

Source: Internet
Author: User

Download

http://httpd.apache.org/download.cgi

I'm using a apachehaus.

Installation Services

1. Open the conf/httpd.confin the Apache directory and search for and modify Listen. (not required to ensure that Apache does not conflict with the existing port number. )
2. Under the command line, go to the bin directory below Apache and use httpd-k install to mount Apache as a Windows backend service.

Pressure test

Ab-r-N 10000-c http://localhost/test_20180222.html
Ab-r-N 10000-c http://192.168.1.43:6060/test_20180222.html

Troubleshoot errors

Error: failed to start Apache.

Troubleshooting: run Httpd.exe using the command line to view detailed error information.

Workaround: Update the configuration file Srvroot node.

Modified before: Define srvroot "/apache24"

Modified: Define srvroot ". /apache24 "

Resources

Https://www.jianshu.com/p/43d04d8baaf7
https://stackoverflow.com/a/8549572

Configuring Apachebench (AB) stress testing under Windows

Related Article

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.