Hello,
I have problem running JMeter with MQseries.
jmeter.log
2009/05/12 16:34:15 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.IllegalStateException: QueueConnectionFactory expected, but got
com.ibm.mq.jms.MQConnectionFactory
at
org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:286)
I downloaded source code and find the line that caused problem:
JMSSampler.java line 283
Object obj = context.lookup(getQueueConnectionFactory());
if (!(obj instanceof QueueConnectionFactory)) {
it returns false, although com.ibm.mq.jms.MQConnectionFactory implements
QueueConnectionFactory interface.
I put libraries to /lib directory of JMeter so the class is recognized and
loaded.
I wonder why is it?
Any ideas welcomed.
Kamil Kukołowicz from Poland.
--
Kamil Kukołowicz