Use apache jmeter for stress testing

1. Download the zip package from the official website and unzip it to the current folder

Official website address: http://jmeter.apache.org/download_jmeter.cgi

2. Sinicization changed to zh_cn

3. Start stress test, build thread group, build http request, build view result tree, build view aggregation report

4. Create a thread group and right-click the test plan

5. Create an http request, right-click the thread group, enter ip, port and interface or page address

6. Build an inspection result tree

7. Build and view aggregate reports

8. Finally, look at the aggregate report

The fields are explained as follows

#Samples: How many threads are running in this test;

 Average: average response time; 

 Median: the median response time in a statistical sense;

 90% line: 90% of the thread response time in all threads is less than this value;

 95% line: 95% of the thread response time of all threads is less than this value;

 Min: minimum response time;

 Max: maximum response time;

 Error: error rate;

Throughput-Throughput is measured in "requests/second, requests/minute, requests/hour". The time unit has been selected as second, so the display rate is at least 1.0, that is, 1 request per second. When the throughput is saved to the CVS file, requests/second are used, so 30.0 requests/second is saved as 0.5 in CVS

Kb/sec Throughput measured in Kilobytes/seond

This test shows that, at the request of the customer, it supports concurrently sending 3000 QR code page requests. The hardware is the result of the concurrent test of nginx running on the Linux single-core cpu.

 

Guess you like

Origin blog.csdn.net/qq_29407683/article/details/106807957