I have the following script with 1 thread and 2 iterations.
Debug in Switch is not called. The second Google in the first iteration and the second Yahoo in the second iteration are not executed. Why?
Thank you for the help.
I added the image of Switch Controller.
Google and Yahoo are Simple Controllers with one HTTP Request Sampler.
Remove spaces in the
Domains.csv
file in the second column. As of nowaction= Google
is checked instead ofaction=Google
. so the behaviour.Domains.csv
Note: As you are using
Switch Controller
, it executes only matching element inside of it.Debug Sampler in Switch
element will never be matched as you are looking for eitherGoogle
orYahoo
.As
Edi Prayitno
mentioned, you can keep it inside the Simple Controller, if you want to executeDebug Sampler in Switch
every time.