Make it possible for the user to reset the counter for the next iteration of the thread. It could be helpfull for some user with this kind of script : ++Thread +HTTP Request 1 - Regexp (VARIABLE) +ForEach Controller -Counter (CPT) -HTTP Request 2 (which use ${__V(VARIABLE_${count}_g1)} (and other wiht g2, ...) ... And that it avoids having to develop its own counter Thanks for this enhancement, Thierry
Created attachment 28063 [details] Script Test You can find a test script : Thread Test A : what I want (counter which initialize at each thread iteration) Thread Test B : the actual counter functioning (continue to increment on next tread iteration). Thanks, Thierry
Date: Sun Dec 11 20:28:07 2011 New Revision: 1213053 URL: http://svn.apache.org/viewvc?rev=1213053&view=rev Log: Bug 52317 - Counter : Add option to reset counter on each Thread Group iteration Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/CounterConfig.java jmeter/trunk/src/components/org/apache/jmeter/modifiers/gui/CounterConfigGui.java jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2677