Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Apche ab stress testing tool

Shulou Source: shulou.com Published: 2022-06-03 07:22:37 11月23日 Update

First, you need to install apche at:

Https://www.apachehaus.com/cgi-bin/download.plx

After the download is complete, you need to extract the package:

How to start the ab tool:

Step 1: open cmd

Step 2: enter C:\ xampps\ apache\ bin (the bin directory where apache is installed)

Step 3: configure ab stress test link for stress test

Where:-n represents the number of requests,-c represents the number of concurrency, and-t indicates the number of concurrency and requests within s

Request result data analysis:

The number of Concurrency Level concurrency is equal to the number of Time taken for tests tests after-c. The total time taken by Complete requests to successfully receive the number of failed Failed requests requests may be due to network connections, exceptions, request data length, etc. Non-2xx responses indicates that the number of HTTP status code returned is not the number of 2xx (for example, 404401500...). If it is all 2xx, this indicator does not show the number of Requests per second requests per second in the result. Equal to total number of requests / total test time Time per request average time spent per request. The first Time per request is equal to concurrency * timetaken * 1000 / done, and the second Time per request (mean, across all concurrency requests) is equal to timetaken * 1000 / done. The first can be understood as the average request waiting time of the user, and the second as the average request waiting time of the server.

Tags: Number time steps tests data results tools success address location metrics numerical values data analysis servers users directories networks links length analysis Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi NVidia Shulou Tech Info macOS