简体   繁体   中英

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罐

  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配置

  1. jmeter config -

jms点对点配置

  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

  1. I believe you don't need that many jars, you should download the relevant 8.xxx-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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM