0
votes

I have test a plan with Module controller, where my "Thread Group" has a CSV and it'll read each line(as input) and proceed the next samplers. But if i control it over the module controller, i should disable the Thread Group. In this case, Samplers were reading only first line of the CSV and the test getting completed without reading any further lines in CSV. Which means test is running only one time as "Thread Group" is disabled where "Loop count:" selected as forever(Image-3).

My Requirement, with the Module controller, i should able to run the "Simple Controller 1" and it should process the each line of CSV data and proceed with further samplers. Like this, it should iterate until the EOF CSV.

How could i make it work...

Thread Group Config

CSV COnfig

Test Plan

1

1 Answers

0
votes

It seems the Module and the Simple controller block would be executed. From your question it is also not clear what you exactly disabled. If you disabled the "Thread Group" controller than there is not much the script would do.

I am not sure how you configured the module controler but I miss the Test Fragment controller in your script. So....

I would expect a setup similar to this (see example), so it is logically separated where you have your 'function block' and where it is being used. So the Thread group will run the Testfragment as it is called from the Module controller. This is mostly useful if you re-use parts in different places of your script.

If in your case this is your full script you don't need the module controller.

enter image description here