user1748546
user1748546

Reputation: 97

JMeter - Execute multiple test plans from single console

I am new to JMeter. I have created several test plans. Is it possible to combine different test plans in a single '.jmx' file so that the user can see all the different test plans in one console? Not only that, the user can pick and choose more than one test plans and run them? The test plans may not be collaborating with each other. Theyare completely isolated test plans. The idea is, the user can view and execute them from one console?

Upvotes: 0

Views: 1814

Answers (3)

Dmitri T
Dmitri T

Reputation: 168082

First of all, looking into Adding and Removing Elements chapter of Building a Test Plan article:

Adding elements to a test plan can be done by right-clicking on an element in the tree, and choosing a new element from the "add" list. Alternatively, elements can be loaded from file and added by choosing the "merge" or "open" option.

enter image description here


You can also store multiple .jmx scripts as Test Fragments and add them to the "main" script via Include Controller and/or Module Controller

Check out How to Manage Large JMeter Scripts With JMeter Test Fragments article for more information.

Upvotes: 1

dsam
dsam

Reputation: 46

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.

  1. You can even create a test plan with JDBC request to test Data base and another test plan with Http request to API tests.
  2. Add different headers and Listeners in each thread group as needed.
  3. If you want aggregate report of all thread groups, you can listener by right clicking on Test Plan.

Upvotes: 0

okeswara reddy
okeswara reddy

Reputation: 1

instead of maintaining multiple test plans .. i would suggest make multiple thread groups in one test plan so whoever going to use specific group then can enable and run ..

Upvotes: 0

Related Questions