Summary: | Subscriber ThreadGroup won't stop | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Hiskill <hikiran> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.3.4 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Patch to add interruptible to SubscriberSampler.java |
Description
Hiskill
2009-09-24 09:18:31 UTC
Created attachment 24382 [details]
Patch to add interruptible to SubscriberSampler.java
Here's a patch to SubscriberSampler.java to make it interruptible. I've tested this at work, and it works for me.
Thanks for the patch. I had to change the interrupted boolean flag to volatile, else the updated value might not be propagated to the running thread. Also, the interrupt() method should not clear down the pool or counts. URL: http://svn.apache.org/viewvc?rev=832426&view=rev Log: Bug 47900 - Allow JMS Subscriber Sampler to be interrupted This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2286 |