0
votes

I have referred this thread Passing two variables in a ForEach controller in jmeter and able to pass multiple variables into the foreach controller

In foreach controller I am using URL variable which works fine and iterate through all the results from previous response extraction. But when I use ${__V(longitude_${__counter(,)})} it doesn't reset to 0 and when I hot the 2nd iteration item it doesn't match. how Is it possible?

1

1 Answers

0
votes

Function __counter is by default global, to make it per user, set first argunent as TRUE.in your case:

 ${__V(longitude_${__counter(TRUE,)})} 

TRUE if you wish each simulated user's counter to be kept independent and separate from the other users.