jmeter qps tps

Background: I haven't figured out what qps, tps, and response time mean. After reading the tutorials of jmeter and qps, I suddenly became enlightened. Using jmeter, set qps to 20 to perform performance test on Baidu, you can get the response time of Baidu. So I understand that the original QPS is external and not controlled by the system itself.

 

Goal: Use jmeter, set qps to 20 to perform performance test on Baidu, and get Baidu's response time. Practice this requirement.

 

Environment: jmeter3.0 +win7_x64

 

step:

1. Download and unzip jmeter.

 

2. According to the tutorial , make the following settings

2.1. Set the thread group, the number of threads is set to 20, and the Ramp-Up Period is set to 10 (unit is second), which means 1 second plus 2 threads.

2.2. Add an HTTP request, that is, which URL to test.

2.3. Add viewing mode, which can be in tabular form or aggregated report .

2.4. In the aggregate report, Average is the response time and Throughput is the throughput, which can be simply understood as QPS.

 

Here are the references:

1, jmeter+qps reference materials

2. Jmeter introductory tutorial for small tanks , more basic

3, jmeter introductory tutorial 2 , explaining the meaning of thread groups

4, jmeter report field extension tutorial

5. Calculation of jmeter and TPS

 

------------------------------------------------------------

 

PS: If 2 threads are set and the number of loops is 2, then there will be 4 requests, please note.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326613933&siteId=291194637