Mayuri De
Mayuri De

Reputation: 1

Jmeter Debugging- How to Run only 1 simple controller from test plan

In my test plan ,under a thread group i have 7-8 simple controllers, i am adding or updating new http request within simple controller daily, how can i run only that controller while debugging. after updating i want to run only that particular simple controller and not entire test plan because my test plan has many request i dont want to run all http request while debugging.

Test plan

Upvotes: 0

Views: 62

Answers (2)

Dmitri T
Dmitri T

Reputation: 168147

  1. There is possibility to "disable" the "unwanted" test elements from the context menu (right click)

    enter image description here

    greyed out test elements won't be executed

  2. You can use Switch Controller to choose which child to run:

    enter image description here

  3. Instead of (or in addition to) Simple Controlles you can use Test Fragments and reference them using Module Controllers:

    enter image description here

Upvotes: 0

rollno748
rollno748

Reputation: 344

There are multiple methods to achieve it. one easy solution to that is using Module controller.

For that you need to

  1. Right-click on testplan and add a new Thread group
  2. Add a module controller
  3. Select the target to the simple controller on the other thread group which you wanted to run
  4. Now If you run the new thread group - it will execute only the selected simple controller

Something looks like this

enter image description here

Upvotes: 0

Related Questions