Right.. My request body needs the iteration count. If I make use of counter function, I might have to use it at other places as well in the same thread, which would hold the same value. That would not result in forming proper requests at other places.
Finally using while loop instead of foreach.. Thanks for your help.. Regards, Guruprasad > On ಜುಲೈ 15, 2016, at 02:49 ಪೂರ್ವಾಹ್ನ, Deepak Shetty <[email protected]> wrote: > > hi > you probably need to add > http://jmeter.apache.org/usermanual/functions.html#__counter if you want to > know which iteration you are on. > However the for each is generally meant for situations where you dont need > to know the iteration value > > On Thu, Jul 14, 2016 at 2:56 AM, Guruprasad R <[email protected]> > wrote: > >> Hi, >> >> I am using foreach controller and not really able to find the iteration >> value of the loop. >> >> Ex: The foreach might run for 10 iterations and if its current iteration >> value is 5, how would i be able to extract the value 5?? >> >> Regards, >> Guruprasad R >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
