1
votes

I have a scenario where I need to execute the http calls concurrently with a set of data (say 5 different data set).And then with same data set need to execute another set of https calls sequentially. And then with same data set need to execute another set of https calls concurrently again. These 3 cases I need to test with multiple iterations.

I tried with 3 separate thread groups. First one have number of threads 5 with Loop count 1. And the second one have number of threads 1 with Loop count 5. And the Third one have number of threads 5 with Loop count 1.

But this will not work when I need to execute the scenario for multiple iterations.

1

1 Answers

1
votes

As of current JMeter version 5.1.1 you cannot have nested Thread Groups.

If you need to mimic some form of AJAX requests it can be done using Parallel Controller plugin.

The Parallel Controller plugin executes its children at exactly the same moment:

enter image description here

therefore it should be sufficient for fulfilling your requirement

Parallel Sampler and Controller can be installed using JMeter Plugins Manager:

enter image description here