Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run multiple Test Group in single .jmx using jmeter

I have created one Test plan, and inside it have added 5 Test Group. I am able to run 1 Test Group at a single time. Is there any way, where 5 test group can be run in single jmx file ?

like image 751
user2987590 Avatar asked Nov 19 '13 15:11

user2987590


People also ask

Can I have multiple thread groups in JMeter?

Multiple threads are used to simulate concurrent connections to your server application. The ramp-up period tells JMeter how long to take to "ramp-up" to the full number of threads chosen.

Is it possible to combine all test plans in JMeter?

I am not sure you can add multiple test plans in one JMX file, as above comment says you can create multiple Thread groups in one test plan. You can even create a test plan with JDBC request to test Data base and another test plan with Http request to API tests.

Is there a way to run multiple thread groups consecutively?

Check the option "Run Thread Groups consecutively" under "Test Plan"


1 Answers

Check "Run Test Groups consecutively" box status (under Test Plan properties). If you uncheck it you'll have all your thread groups running in parallel.

However you need to remember that variables cannot be passed between different thread groups and if your test logic assumes creating some entities in one thread group, reading them in another, editing in the third and deleting in the fourth you may wish to learn how to pass variables and cookies between different thread groups.

like image 102
Dmitri T Avatar answered Oct 16 '22 21:10

Dmitri T