can we run two thread groups parallel by creating a single test plan in Jmeter ??
Example:
I have to add 2 test cases in a test plan, which has to be executed in parallel and can we combine this test plan with any other test plan to be executed simultaneously
You should add multiple "Thread Group" into a "Test Plan". Inside "Test Plan" unselect "Run thread groups consecutively". Inside every "Thread Group" configure "Number of Threads(users)" as "5", "Ramp-Up Period" as "0", "Loop Count" as "1". For 5 Samplers you should need 5 "Thread Group".
From my understanding and my point of view, to have multiple tests plans, you must create several . jmx file. For instance, if you need to test different servers or application. If you need to test multiple scenario in a same application, so combining them into in a single .
This depends on the test plan and the number of listeners, but users have reported successfully running 1000 threads in a single JMeter instance. Also, note that JMeter can place a much higher load on a system than a human user can, as it can make requests much faster.
1. Setting up Concurrency Thread Group in JMeter — Create Test Plan in File in JMeter and add Concurrency Thread Group to it. For example: In the above case, 100 users need to be maintained on server for steady state of 5 min. Target Concurrency is 100 and Hold Target Rate Time is 5 min.
Jmeter supports running more than one scenario in parallel as part of the same test plan.
Each scenario is managed in its own Thread Group element.
So for your case, add a new Thread Group to the test plan, and set the steps for the second scenario there. When you have more than 1 Thread Group, you can configure the test plan to start them at the same time (or one after the other).
There is no guarantee that the requests will be in the exact same time, but both Thread Groups will start simultaneously.
Hope it helps :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With