ab stands ApacheBench, is a small utility that comes with Apache, specifically for benchmark testing HTTP Server, you can simulate multiple concurrent requests at the same time. It is a simple performance testing tool for small, simple and easy to use.
Instructions:
1, open a command line, type cmd, and press Enter
2, an input command, Example: E: \ test \ ab.exe -n 1000 -c 50 http://192.168.1.149:18080/v1/CS/254767713_354476 (request 1000, and transmits 50)
Commonly used commands:
-n: request number, a default time
-c: Concurrent
-t: timeout limit
Returning to the description:
IS ApacheBench the this, Version 2.3 <$ Revision: $ 1843412>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to the Apache Software Foundation at The, http://www.apache.org/
Benchmarking 192.168.1.149 (BE Patient)
Server Software: Kestrel
Server Hostname: 192.168.1.149
Server port: 18080 / * port * /
the document Path: / v1 / CS / 254767713_354476
the document the Length: 354 476 bytes / * request file size * /
Concurrency Level: 50 / * concurrent * /
time taken for tests: 7.314 seconds the / * used for the entire test time * /
number request 1000 / * done * /: complete requests
the number of requests 0 / * failed * /: failed requests
Total transferred: 354618000 bytes / * the whole network traffic scene * /
the HTML Transferred: 354.476 million bytes / * the HTML transmission volume of the entire scene * /
Requests per SECOND: 136.72 [# / sec] (Mean) / * the number of requests per second * /
time per request: 365.721 [MS] (mean) / * average response time per request * /
time per request: 7.314 [MS] (mean, across All Concurrent requests)
Transfer Rate: 47345.75 [Kbytes / sec] Received / * network traffic on average per second * /
/ * Time consuming network exploded * /
Connection Times (MS)
min Mean [+/- SD] Median max
Connect: 0. 1 24 2 2.3
Processing: 78 360 383 528 87.0
Waiting: 39.3. 3 88 89 199
the Total: 79 362 86.6 385 528
/ * Here is a case where the entire scene in response to all requests, corresponding to 50% of the time is less than 385 milliseconds, less than 66% of the response time of 402 milliseconds. . . . . . The longest response time 528 ms * /
Percentage served WITHIN A of Requests The Certain Time (MS)
50% 385
66% 402
75% 412
80% 421
90% 444
95% 459
98% 479
99% 497
100% 528 (longest Request )