shubham sachan
shubham sachan

Reputation: 13

Jmeter JMS point to point to connect IBM MQ error ( java.lang.IllegalStateException: QueueConnectionFactory expected, but got com.ibm.mq.jms

jmeter, jms point to point : error: Response message: java.lang.IllegalStateException: QueueConnectionFactory expected, but got com.ibm.mq.jms.MQConnectionFactory

config:
1. jmeter3.3
2. All the jars available in websphere mq 8.0 -installed folder are pasted in apache-jmeter-3.3\lib folder

MQ jars

  1. also added javax.jms-api-2.0.1 in apache-jmeter-3.3\lib folder
  2. initial context factory setup in MQ Explorer

JNDI config

  1. jmeter config -

jms point to point config

  1. JDK 1.8
  2. MQ explorer : Eclipse SDK v3.6.2

Followed all the steps as described in : JMeter configuration for IBM MQ 8

JMeter 3.2 Point-to-Point configuration for IBM MQ 8 => Java Exception

Upvotes: 0

Views: 1780

Answers (1)

Dmitri T
Dmitri T

Reputation: 168082

  1. I believe you don't need that many jars, you should download the relevant 8.x.x.x-WS-MQ-Install-Java-All.jar package from the Fix Central and come up with libraries like:

    • com.ibm.mq.allclient.jar
    • com.ibm.mq.traceControl.jar
    • fscontext.jar
    • jms.jar
    • JSON4J.jar
    • providerutil.jar
  2. I also think you should use com.ibm.msg.client.jms.JmsFactoryFactory

See IBM MQ testing with JMeter - Learn How article for detailed JMeter configuration instructions for IBM MQ load testing

Upvotes: 1

Related Questions