Created attachment 27736 [details] Test Plan Hello, Scenario: - Using ActiveMQ 5.5.0 - Start test - Let one sample run - Call stop before it ends We have Thread ActiveMQ Tranport tcp://.... Running. I think it's a bug in ActiveMQ but I open an issue here if anyone meets the same issue. Cause is due to an exception occuring on close: 2011/10/08 17:16:59 ERROR - jmeter.protocol.jms.client.ReceiveSubscriber: Error during close: javax.jms.JMSException: java.io.InterruptedIOException at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62) at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1342) at org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:660) at org.apache.jmeter.protocol.jms.Utils.close(Utils.java:65) at org.apache.jmeter.protocol.jms.client.ReceiveSubscriber.close(ReceiveSubscriber.java:236) at org.apache.jmeter.protocol.jms.sampler.SubscriberSampler.threadFinished(SubscriberSampler.java:305) at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:579) at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:986) at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:969) at org.apache.jmeter.threads.JMeterThread.threadFinished(JMeterThread.java:554) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:328) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.InterruptedIOException at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:102) at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40) at org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81) at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:91) at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1329) ... 10 more
Created attachment 27737 [details] JMeter log file
Created attachment 27738 [details] Thread Dump
(In reply to comment #0) > Created attachment 27736 [details] > Test Plan > > Hello, > Scenario: > - Using ActiveMQ 5.5.0 > - Start test > - Let one sample run > - Call stop before it ends > > We have Thread ActiveMQ Tranport tcp://.... Running. > > > I think it's a bug in ActiveMQ but I open an issue here if anyone meets the > same issue. > Cause is due to an exception occuring on close: > 2011/10/08 17:16:59 ERROR - jmeter.protocol.jms.client.ReceiveSubscriber: Error > during close: javax.jms.JMSException: java.io.InterruptedIOException > at > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62) > at > org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1342) > at > org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:660) > at org.apache.jmeter.protocol.jms.Utils.close(Utils.java:65) > at > org.apache.jmeter.protocol.jms.client.ReceiveSubscriber.close(ReceiveSubscriber.java:236) > at > org.apache.jmeter.protocol.jms.sampler.SubscriberSampler.threadFinished(SubscriberSampler.java:305) > at > org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:579) > at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:986) > at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:969) > at > org.apache.jmeter.threads.JMeterThread.threadFinished(JMeterThread.java:554) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:328) > at java.lang.Thread.run(Thread.java:680) > Caused by: java.io.InterruptedIOException > at > org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:102) > at > org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40) > at > org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81) > at > org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:91) > at > org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1329) > ... 10 more It seems issue is due to the call of t.interrupt(); in StandardJMeterEngine#tellThreadsToStop. ActiveMQ does not like it.
Issue opened at ActiveMQ: https://issues.apache.org/jira/browse/AMQ-3529
Created attachment 27742 [details] Test Plan using OpenJMS Issue seems to be in ActiveMQ as we don't have it with OpenJMS. TO run test add following libraries to jmeter lib folder: -spice-jndikit-1.2.jar -openjms-tunnel-0.7.7-beta-1.war -openjms-tools-0.7.7-beta-1.jar -openjms-net-0.7.7-beta-1.jar -openjms-common-0.7.7-beta-1.jar -openjms-0.7.7-beta-1.jar
It also breaks Subscriber in AMQ.
*** Bug 52034 has been marked as a duplicate of this bug. ***
Bug fixed in activemq 5.6.0 Waiting for release for test.
Tested with nightly build. Bug still there. Provided JUnit Test case to reproduce issue.
Issue fixed in upcomint ActiveMQ 5.6.0 version. Issue was not a JMeter one, closing as invalid.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2588