in my jmeter test I have a loop controller which works on messages got from previous thread group with a while loop inside. In while I'm sending GET as long as it is not successful. I would like to know how many of GETs was send. It looks like this:
-Loop Controller
--While (${__javaScript("${statusCode}"!="200")})
----Counter (on retry variable)
----GET ${retry}
I thought that every while loop will have an individual counter, but it's not. The counter gets incremented in every Loop Controller iteration. Any ideas?