Created attachment 29881 [details] Test Plan screen if Loop controller have dynamic Loop count: ${__Random(1,12,)} for example Order of requests can be broken skip some request but run next See attached image -> Different number of samples for all Contacts wizard steps All ok in case Loop controller have constant in Loop Count field
Reproducible for 2.8
*** Bug 54317 has been marked as a duplicate of this bug. ***
Issue is due to __Random being evaluated on each call to next() in Controller.
You can do the same thing by: - Declaring a UserDefined Variable which is equal to ${__Random(1,12,)} - Then use it in loop
Clarified documentation Date: Tue Jan 22 22:08:34 2013 New Revision: 1437215 URL: http://svn.apache.org/viewvc?rev=1437215&view=rev Log: https://issues.apache.org/bugzilla/show_bug.cgi?id=54467 Bugzilla Id: 54467 Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
:-) Documented bug is a fiche. Of course I'm understand workaround and use it. But Loop controller should check conditions only before start of loop iterations, not each actions in the loop, it open way to many different bugs. // add comment to documentation is a half of fix. (lower to minor bug)
Date: Sun Feb 10 13:48:11 2013 New Revision: 1444543 URL: http://svn.apache.org/r1444543 Log: Bug 54467 - Loop controller Controller check conditions each request Bugzilla Id: 54467 Modified: jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java jmeter/trunk/xdocs/changes.xml
Date: Sun Feb 10 17:07:19 2013 New Revision: 1444567 URL: http://svn.apache.org/r1444567 Log: Bug 54467 - Loop controller Controller check conditions each request Fix test failure Bugzilla Id: 54467 Modified: jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java
Date: Sun Feb 10 16:04:17 2013 New Revision: 1444558 URL: http://svn.apache.org/r1444558 Log: Bug 54467 - Loop controller Controller check conditions each request Error in inherited method override (test still fails with it) Bugzilla Id: 54467 Modified: jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java
Date: Sun Feb 10 17:14:11 2013 New Revision: 1444568 URL: http://svn.apache.org/r1444568 Log: Bug 54467 - Loop controller Controller check conditions each request Add Test Bugzilla Id: 54467 Modified: jmeter/trunk/test/src/org/apache/jmeter/control/TestLoopController.java
Date: Sun Feb 10 17:37:50 2013 New Revision: 1444571 URL: http://svn.apache.org/r1444571 Log: Bug 54467 - Loop controller Controller check conditions each request Use constant for -1 special value Bugzilla Id: 54467 Modified: jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java jmeter/trunk/src/core/org/apache/jmeter/control/gui/LoopControlPanel.java jmeter/trunk/test/src/org/apache/jmeter/control/TestLoopController.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3043