I'll take a look at the code tomorrow (this is at work) and get back to you, thanks for the tip.

sebb wrote:
On 29/09/2009, Bob Yetman <[email protected]> wrote:
You're right, it's 1:32 apart, so how do I tell the Sampler to finish?

Is it possible to interrupt the current action?

For example with the HTTP Samplers, the interrupt() method disconnects
the socket, which causes the current operation to abort.

 10:36:50 INFO - jmeter.gui.action.start: Stopping test
 10:36:50 INFO - jmeter.threads.JMeterThread: Stopping my thread
 10:36:50 WARN - jmeter.threads.JMeterThread: Interrupting: my thread
sampler: JMS Subscriber
 10:36:50 DEBUG-
jmeter.protocol.jms.sampler.SubscriberSampler:
SubscriberSampler.interrupt called  ** my new method **
 10:36:50 INFO -
jmeter.protocol.jms.client.OnMessageSubscriber: Subscriber
closed ** called from my new method **
 10:36:50 DEBUG -
jmter.protocol.jms.sampler.SubscriberSampler: sleep
interrupted
 10:38:22 WARN - jmeter.engine.StandardJMeterEngine: Thread
won't exit: my thread




 sebb wrote:


You have not shown the times from the log - these are important in
determining whether or not the engine sees the thread completion. If
it takes too long for the sampler to finish, the engine complains.


---------------------------------------------------------------------
 To unsubscribe, e-mail:
[email protected]
 For additional commands, e-mail:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to