Entering a loop count of zero for a ThreadGroup causes an infinite loop (without actually running any of that ThreadGroup's children). Steps to reproduce: Run the attached test plan in JMeter Actual results: JMeter goes into an infinite loop trying to run the ThreadGroup but not actually running any of that ThreadGroup's children. Expected results: The behavior I would expect, and that the documentation seems to imply, is for the ThreadGroup to not be run at all (i.e. threads running that ThreadGroup would terminate almost immediately). This bug doesn't occur in 2.2 but does in 2.3.
Created attachment 23607 [details] test plan demonstrating bug
Created attachment 23608 [details] Proposed patch
Thanks very much for the report and the patch. Applied to SVN in: URL: http://svn.apache.org/viewvc?rev=771755&view=rev Log: Bug 47150 - ThreadGroup with a loop count of zero causes infinite loop
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2232