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?
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.
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.
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.
You can disable(Right click on thread group) the thread group which you don't want to execute.
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
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