JMeter Stress Test (i) sets the number of threads in the thread group, that is, the number of concurrent users at execution time, and applies to concurrent tests for a single thread group.
If the test requirements appear in the following scenario, how can you use JMeter to implement stress testing? That is how JMeter implements the multithreaded group concurrency test, which is how the concurrency number is set when the hybrid scenario test in LoadRunner.
The test requirements are as follows: For business A, business B, business C, business D, business e,5 business according to the concurrency ratio requirements of 100 users concurrent stress test;
JMeter can achieve the above requirements, the test plan is as follows:
1. Create a test plan;
2. Add 5 thread groups under the plan, respectively, to business A, business B, business C, business D, business e;
3. Set the thread group business A, business B, business C, business D, business e threads are: 40, 10, 20, 25, 5 (total concurrency is 100, set concurrent users by concurrency scale)
3. Add test results monitoring under the program;
4. Set the execution time, start the execution of the test, you can see the concurrency number is 5 business concurrency sum, as shown below:
Note: This article is original, all content under this blog, where annotated "source: laofashi2015" of all text, pictures and audio and video materials, copyright is laofashi2015 all, any media, websites or individuals without the authorization of their own agreement shall not be reproduced, linked, posted or copied in other ways to publish Published The media, website, which has been authorized by me, must be marked as "source of manuscript: Laofashi2015" When downloading, and the offender will be held accountable according to law.