JMeter do http Interface pressure test
Pre-Test preparation
It is very convenient to use JMeter to do the pressure measurement of the interface, we need to consider these aspects before the pressure measurement:
Scene settings
The scene is divided into single scenes and mixed scenes. For an interface to do stress testing is a single scene, for a process to do stress testing is a mixed scene, need multiple interfaces to work together.
Time setting for pressure measurement
Usually the time is set to 10 – 15 minutes, if the fatigue test is related to the time can be set according to the actual situation, 1 weeks, one months range.
Test data preparation
If the amount of data that needs to be tested is large, data needs to be built, data can be jmeter to operate the database, or data can be made in Python.
Results view
After that you can follow your settings to go straight to the pressure test, the most critical to understand the test results of the view
After each request is tuned in, the thread group does not need to retain the "view result tree" because its operation affects the results of the test. You need to add an aggregate report to the thread group to view the results of the test
Learn to summarize--jmeter do the HTTP interface stress test