What is Jmeter?
Is a Java-based stress test tools developed by Apache.
Ready to work:
First, install and configure the environment pressure measuring tool
Jmeter Download: http://mirrors.tuna.tsinghua.edu.cn/apache//jmeter/binaries/apache-jmeter-5.1.1.zip
Jdk Download: https://www.oracle.com/technetwork/java/javase/archive-139210.html (requires Java 8+, environment configuration not say)
Second, the pressure measuring means arranged to use
-
Start jmeter
-
New configuration thread group
-
(Http requests new configuration default values need to write a specific path, and a plurality of parameters facilitate subsequent requests )
-
New configuration http request headers
-
New configuration http request (request path and the specific parameter)
-
Increase the operating result chart (visual understanding of the operation)
Third, the pressure test run to see interface performance
At the same time I am here to set the pressure measured for 100 concurrent, looping once. Click the icon to complete the operation, click polymerization report focuses Error percentage and Throughput Throughput; click to see the result tree can see information about each request and response.
This basic pressure sensor interface can be completed. I hope to help you, together we stand on the shoulders of giants advance! ~