Not just like that, there is a method exposed:
http://people.apache.org/~mkostrze/jmeter-docs/docs/api/org/apache/jmeter/functions/ThreadNumber.html
In the script, use this function (try the function helper for details):
${__threadNum}
The thread number is also exposed in test output (the jtl), several
listeners (View Results Table - don't use during high load because of its
high memory consumption). The information is displayed as (example:) tn="Thread
Group 1-1" (first digit group represents the thread group number, second
digit group represents the thread number inside that particular thread
group).
--Adrian S
On Wed, Jan 29, 2014 at 10:40 AM, ZK <[email protected]> wrote:
> Hi,
> just add a counter
> <http://jmeter.apache.org/usermanual/component_reference.html#Counter> to
> your thread group and reference the variable of that counter to find the
> loop count
>
>
> ZK
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Thread-group-Loop-count-How-can-I-tell-in-which-round-am-I-tp5719210p5719218.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>