Reputation: 49
Basically this in a slightly (but meaningfully!) different context. From within a Groovy script being run in jMeter (those are all the details I have at the moment), I need functionality to tell the script what iteration of the test it is currently on.
Upvotes: 1
Views: 9116
Reputation: 168082
There are 2 options:
vars.getIteration()
function${__jm__Thread Group__idx}
. From the Groovy script it would be vars.get('__jm__Thread Group__idx
)`Upvotes: 3