JMeterPlugins-Standard.jar download address: Download :: JMeter-Plugins.org
Project acceptance, use jmeter to do concurrency test, if the test unit fails, we can
Ask the test unit carefully, hey, jmeter writes a concurrent number to do the test, it is not considered a concurrent test, only a gradient test is required, but jmeter can’t find how to do a gradient test, so I searched and found out
Add the official plugin package JMeterPlugins-Standard.jar under the apache-jmeter-version number\lib\ext of the jmeter package
Then restart jmeter, add thread group
You can see the parameter settings of the gradient test
Parameter meaning:
- This group will start 200 threads: Set the total number of threads started by the thread group to 200;
- First, wait for 0 seconds: before starting the first thread, you need to wait for 0 seconds; (in this case, it can be set to 0 seconds)
- Then start 5 threads: set to start 5 threads at the beginning;
- Next, add 5 threads every 1 seconds, using ramp-up 0 seconds: start 5 threads every 1 second;
- Then hold load for 20 seconds: After the total number of started threads reaches the maximum value, it will continue to run for 20 seconds;
- Finally, stop 5 threads every 1 seconds: Stop 5 threads every second;
Then add the http request sampler to perform gradient testing