jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GRUWEZ <>
Subject SyncTimer is messed up if you stop a interrupt a test plan
Date Thu, 25 Aug 2011 14:07:25 GMT
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. Since the test interruption left the
previous SyncTimer with already 3 threads "registered", this value (3) will
be used in the cloned SyncTimer

View this message in context:
Sent from the JMeter - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message