Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run one thread group at a time in Jmeter

I have 3 different Thread groups i.e CreateClient, GetClient and "ListClient" but when I start running the test then all these thread group run one by one. If I only want to run thread group "Get Client" then how can I do that?

enter image description here

like image 706
Mishi Avatar asked Feb 16 '17 10:02

Mishi


People also ask

How run a specific thread group in JMeter command line?

The following example demonstrates how to run the JMeter in the Command-Line. The First step is to open the JMeter and create a Test Plan. And then add Thread Group to the Test Plan and add HTTP sampler request to the Thread group. Next, open the Orange HRM application, and copy and paste the URL in the HTTP Request.

How do I run a concurrently thread in JMeter?

So what you need to do is, in your Test Plan, add 5 Thread Groups. In each Thread Group configure the number of Threads to 5 and Ramp Up to 0. Now, add one HTTP Request sampler in each Thread Group. Configure each sampler according to the URL you want to test.

What is run thread groups consecutively in JMeter?

Run Thread Groups Consecutively(i.e. one at a time) If a Test Plan has more than one thread group then they will execute one after the other if this checkbox is checked.


2 Answers

You can disable(Right click on thread group) the thread group which you don't want to execute.

like image 188
Guru Avatar answered Dec 14 '22 02:12

Guru


you can select the Thread Group that you want to execute using Validate option.

Right click on selected Thread Group (Get Client), click on Validate. JMeter runs only Get Client Thread Group.

From JMeter 3.0 change log (refer New and Noteworthy section):

New validation feature, in one click run a selection of Thread Groups with 1 user, no pause and 1 iteration

like image 26
Naveen Kumar R B Avatar answered Dec 14 '22 00:12

Naveen Kumar R B