We can display the actual thread by:
${__threadNum}
Is there something similar for the actual loop count?
You can use ${__jm__Thread Group__idx}
to get current loop iteration
${__jm__Thread Group__idx}
Notice this is part of a general enhancement in JMeter 5 for exposing the loop count
While Controller now exports a variable containing its current index named
__jm__<Name of your element>__idx
. So for example, if your While Controller is namedWC
, then you can access the looping index through${__jm__WC__idx}