I have the following test plan i Jmeter:
- Thread group
- User params
- Csv DataSource
- While controller
- Once only controler
- http sampler
- http sampler
- RegEx extractor (Finds the variable that is the condition in the while loop)
- Once only controler
- If controller
- Http sampler
- Save response to file
- BeanShell Post Processor (Cleans up used variables)
Now, my issue is, when the If controller's condition is met, after the thread is done, it loops as expected. But, when the If controller's condition is not met, after the thread is done, the run stops, and no loop occurs.
In the thread group settings i have "Loop = 50" and "Action on Error: Start next thread loops"
In the system's log, there are no errors at all.
Any ideas?