Javascript required
Skip to content Skip to sidebar Skip to footer

Standardjmeterengine Thread Will Continue on Error

Sravan T

unread,

Apr 3, 2017, 8:32:29 AM 4/3/17

to JMeter Forum

Hi,

I am trying to test HornetQ using Jmeter JMS and I dropped all required below given Hornetq jars. Finally I am not able to send any messages and jmeter is popping error as given below.

ERROR - jmeter.protocol.jms.sampler.SubscriberSampler: Could not initialise client javax.naming.NamingException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]

enter image description here

Find the entire jmeter log..

2017/04/02 20:21:54 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2017/04/02 20:21:54 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: []
2017/04/02 20:21:54 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2017/04/02 20:21:54 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2017/04/02 20:21:54 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2017/04/02 20:21:54 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2017/04/02 20:21:54 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2017/04/02 20:21:54 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1
2017/04/02 20:21:54 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2017/04/02 20:21:54 INFO  - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2017/04/02 20:21:54 ERROR - jmeter.protocol.jms.sampler.SubscriberSampler: Could not initialise client javax.naming.NamingException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]
    at org.apache.jmeter.protocol.jms.client.InitialContextFactory.lookupContext(InitialContextFactory.java:71)
    at org.apache.jmeter.protocol.jms.client.InitialContextFactory.getContext(InitialContextFactory.java:146)
    at org.apache.jmeter.protocol.jms.client.ReceiveSubscriber.<init>(ReceiveSubscriber.java:158)
    at org.apache.jmeter.protocol.jms.client.ReceiveSubscriber.<init>(ReceiveSubscriber.java:90)
    at org.apache.jmeter.protocol.jms.sampler.SubscriberSampler.initReceiveClient(SubscriberSampler.java:125)
    at org.apache.jmeter.protocol.jms.sampler.SubscriberSampler.threadStarted(SubscriberSampler.java:293)
    at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:647)
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
    at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
    at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:616)
    at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:604)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:237)
    at java.lang.Thread.run(Unknown Source)

2017/04/02 20:21:54 INFO  - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2017/04/02 20:21:54 INFO  - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2017/04/02 20:21:54 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2017/04/02 20:21:54 INFO  - jmeter.protocol.jms.client.InitialContextFactory: InitialContextFactory.close() called and Context instances cleaned up
2017/04/02 20:21:54 INFO  - jmeter.protocol.jms.client.InitialContextFactory: InitialContextFactory.close() called and Context instances cleaned up
2017/04/02 20:21:54 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)

DT

unread,

Apr 4, 2017, 12:00:19 PM 4/4/17

to JMeter Forum

Jmeter_SK

unread,

Apr 5, 2017, 12:53:44 AM 4/5/17

to JMeter Forum

I did it and also added missing Jboss-Cleint.jar and now I am seeing this error.

2017/04/04 12:53:28 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2017/04/04 12:53:28 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: []
2017/04/04 12:53:28 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2017/04/04 12:53:28 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2017/04/04 12:53:28 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2017/04/04 12:53:28 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2017/04/04 12:53:28 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2017/04/04 12:53:28 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1
2017/04/04 12:53:28 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2017/04/04 12:53:28 INFO  - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2017/04/04 12:53:29 ERROR - jmeter.protocol.jms.sampler.SubscriberSampler: Could not initialise client javax.naming.NamingException: Found: ; expected Destination, but was: org.jboss.naming.remote.client.RemoteContext
    at org.apache.jmeter.protocol.jms.Utils.lookupDestination(Utils.java:148)
    at org.apache.jmeter.protocol.jms.client.ReceiveSubscriber.<init>(ReceiveSubscriber.java:238)
    at org.apache.jmeter.protocol.jms.client.ReceiveSubscriber.<init>(ReceiveSubscriber.java:115)
    at org.apache.jmeter.protocol.jms.sampler.SubscriberSampler.initReceiveClient(SubscriberSampler.java:126)
    at org.apache.jmeter.protocol.jms.sampler.SubscriberSampler.threadStarted(SubscriberSampler.java:298)

    at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:647)
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
    at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
    at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:616)
    at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:604)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:237)
    at java.lang.Thread.run(Unknown Source)

2017/04/04 12:53:29 INFO  - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2017/04/04 12:53:29 INFO  - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2017/04/04 12:53:29 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2017/04/04 12:53:29 INFO  - jmeter.protocol.jms.client.InitialContextFactory: InitialContextFactory.close() called and Context instances cleaned up
2017/04/04 12:53:29 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)

Jmeter_SK

unread,

Apr 5, 2017, 1:04:32 AM 4/5/17

to JMeter Forum

Added missing jars Jboss-client.jar and also destination but still I see error. Please help me as I got stuck from last 3 days.

2017/04/04 13:01:55 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2017/04/04 13:01:55 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: []
2017/04/04 13:01:55 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2017/04/04 13:01:55 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2017/04/04 13:01:55 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2017/04/04 13:01:55 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2017/04/04 13:01:55 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2017/04/04 13:01:55 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1
2017/04/04 13:01:55 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2017/04/04 13:01:55 INFO  - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2017/04/04 13:01:56 ERROR - jmeter.protocol.jms.sampler.SubscriberSampler: Could not initialise client javax.naming.NameNotFoundException: queue/mdm.entity.all -- service jboss.naming.context.java.jboss.exported.queue."mdm.entity.all"
    at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:103)
    at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)
    at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:174)
    at org.jboss.naming.remote.protocol.v1.Protocol$1.handleServerMessage(Protocol.java:127)
    at org.jboss.naming.remote.protocol.v1.RemoteNamingServerV1$MessageReciever$1.run(RemoteNamingServerV1.java:73)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

2017/04/04 13:01:56 INFO  - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2017/04/04 13:01:56 INFO  - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2017/04/04 13:01:56 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2017/04/04 13:01:56 INFO  - jmeter.protocol.jms.client.InitialContextFactory: InitialContextFactory.close() called and Context instances cleaned up
2017/04/04 13:01:56 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)

On Tuesday, April 4, 2017 at 12:00:19 AM UTC-5, DT wrote:

lhotskytrustold1970.blogspot.com

Source: https://groups.google.com/g/ptgram24/c/BitwkzwOHPI