https://bz.apache.org/bugzilla/show_bug.cgi?id=65322
Felix Schumacher <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Macintosh |All Component|HTTP |Main OS|Mac OS X 10.1 |All --- Comment #1 from Felix Schumacher <[email protected]> --- Yes, that is the current behaviour. Only those variables get reset, that are given explicitly by using a elements such as User Defined Variables. The switch "Same user on each iteration" is (currently) used by the HTTP-HC4 client only. If we were to change this behaviour, we might break other scripts, that rely on this, therefore we would at least have to add another switch to enable this. It might be easier, if you add a JSR223-sampler at the end of the loop, that clears your variables for you. A simple on could use the following Groovy script: vars.entrySet() .collect { it.key } .findAll { it =~ /_g\d*$/ } .forEach { vars.remove(it) } That script will remove all variables that end on '_g' or '_g[DIGITS]'. -- You are receiving this mail because: You are the assignee for the bug.
