jmeter get thread loop count

We can use the getIteration() function to get the thread loop count in properties and also in shell

in property

${__BeanShell(vars.getIteration();,)}
in shell
vars.getIteration();

log.info("\n\nloop : "+ vars.getIteration() );

 

Author: bm on May 9, 2016
Category: jMeter