I usually end up making a user defined variable userCounter = 1 and then increment it as part of a BSF sampler inside the loop;
int counter = ${userCounter}; // or Integer.parseInt(vars.get("userCounter")); counter = counter + 1; vars.put("userCounter", Integer.toString(counter)); You could probably do this in an __eval or __javascript or something, but I don't know if it really buys you any more or less trying to do it that way. I tend to prefer BSF samplers (With Groovy) for being more readiable. To a java programmer anyway... -- Bruce Ide flyingrhenqu...@gmail.com