Scenario: Use a SyncTimer in your test plan and set it to block up to a number of threads, e.g. 5 Run the test and interrupt it before all 5 threads have been blocked. Assume 3 threads have been blocked so far. Rerun the test and let it run. You will notice the SyncTimer will unblock after 2 threads and not 5. The reason is that when the test is started, the clone() method is called on the SyncTimer to created a new one. Since the test interruption left the previous SyncTimer with already 3 threads "registered", this value (3) will be used in the cloned SyncTimer. Encountered in JMeter 2.5 r1158837
Created attachment 27875 [details] Test Plan to reproduce issue
Date: Mon Oct 31 06:10:52 2011 New Revision: 1195344 URL: http://svn.apache.org/viewvc?rev=1195344&view=rev Log: Bug 51733 - SyncTimer is messed up if you a interrupt a test plan Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/timers/SyncTimer.java jakarta/jmeter/trunk/xdocs/changes.xml
*** Bug 52185 has been marked as a duplicate of this bug. ***
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2519