Inside the "Number of loops" field, you can use the following:
${myVar}
for example for random counting:
${__groovy(java.util.concurrent.ThreadLocalRandom.current().nextLong(128L),)}
You can access the index of the current loop (starting at 0) through ${__jm__Loop Controller__idx} , where Loop Controller is the name of your loop.
Graham russell
source share