Hi,
I want to test JMS Publish/Subscribe Messaging to Websphere MQ v7 (Refer...
http://www.devx.com/Java/Article/41921/1954) using JMeter 2.3.4.
When i run the test, got the error message:
2009/11/24 15:47:54 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.VerifyError: (class: com/ibm/mq/jms/MQConnectionFactoryFactory,
method: getObjectInstance signature:
(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;)
Incompatible object argument for function call
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
at javax.naming.spi.NamingManager.getObjectFactoryFromReference(Unknown
Source)
at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
at com.sun.jndi.fscontext.RefFSContext.lookup(RefFSContext.java:146)
at com.sun.jndi.fscontext.FSContext.lookup(FSContext.java:127)
at javax.naming.InitialContext.lookup(Unknown Source)
at
org.apache.jmeter.protocol.jms.client.ConnectionFactory.getTopicConnectionFactory(ConnectionFactory.java:106)
at
org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher.java:81)
at
org.apache.jmeter.protocol.jms.client.Publisher.<init>(Publisher.java:60)
at
org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(PublisherSampler.java:109)
at
org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(PublisherSampler.java:133)
at
org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(PublisherSampler.java:120)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
2009/11/24 15:47:54 INFO - jmeter.threads.JMeterThread: Thread finished: my
users 1-1
2009/11/24 15:47:54 INFO - jmeter.engine.StandardJMeterEngine: Ending
thread my users 1-1
2009/11/24 15:47:54 INFO - jmeter.engine.StandardJMeterEngine: Stopping
test
2009/11/24 15:47:54 INFO - jmeter.engine.StandardJMeterEngine: Notifying
test listeners of end of test
2009/11/24 15:47:54 INFO - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*)
2009/11/24 15:47:54 INFO - jmeter.engine.StandardJMeterEngine: Test has
ended.
Have a look into the JMeter snaps attached herewith
http://old.nabble.com/file/p26493538/JMS%2BPublisher.JPG JMS+Publisher.JPG
http://old.nabble.com/file/p26493538/JMS%2BSubscriber.JPG JMS+Subscriber.JPG
Is problem in MQ Jars ??
Please help me in resolving this issue.
Thanks,
Saurabh
--
View this message in context:
http://old.nabble.com/JMeter-%3A%3A-JMS-Publisher-Subscriber-message-to-Websphere-MQ-tp26493538p26493538.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]