简体   繁体   English

Jmeter JMS点对点连接IBM MQ错误(java.lang.IllegalStateException:预期为QueueConnectionFactory,但是得到了com.ibm.mq.jms

[英]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 jmeter,jms点对点:错误: 响应消息:java.lang.IllegalStateException:预期为QueueConnectionFactory,但是得到了com.ibm.mq.jms.MQConnectionFactory

config: 配置:
1. jmeter3.3 1. jmeter3.3
2. All the jars available in websphere mq 8.0 -installed folder are pasted in apache-jmeter-3.3\\lib folder 2.将websphere mq 8.0 -installed文件夹中可用的所有jar粘贴到apache-jmeter-3.3 \\ lib文件夹中

MQ罐

  1. also added javax.jms-api-2.0.1 in apache-jmeter-3.3\\lib folder 还在apache-jmeter-3.3 \\ lib文件夹中添加了javax.jms-api-2.0.1
  2. initial context factory setup in MQ Explorer MQ Explorer中的初始上下文工厂设置

JNDI配置

  1. jmeter config - jmeter配置-

jms点对点配置

  1. JDK 1.8 JDK 1.8
  2. MQ explorer : Eclipse SDK v3.6.2 MQ资源管理器:Eclipse SDK v3.6.2

Followed all the steps as described in : JMeter configuration for IBM MQ 8 遵循以下所有步骤: IBM MQ 8的JMeter配置

JMeter 3.2 Point-to-Point configuration for IBM MQ 8 => Java Exception JMeter 3.2 IBM MQ 8的点对点配置=> Java异常

  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: 我相信您不需要那么多jar,您应该从Fix Central下载相关的8.xxx-WS-MQ-Install-Java-All.jar程序包,并提供类似以下的库:

    • com.ibm.mq.allclient.jar com.ibm.mq.allclient.jar
    • com.ibm.mq.traceControl.jar com.ibm.mq.traceControl.jar
    • fscontext.jar fscontext.jar
    • jms.jar jms.jar
    • JSON4J.jar JSON4J.jar
    • providerutil.jar providerutil.jar
  2. I also think you should use com.ibm.msg.client.jms.JmsFactoryFactory 我也认为您应该使用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 有关使用 IBM MQ负载测试的详细JMeter配置说明,请参阅使用JMeter进行IBM MQ测试-学习方式文章

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JMeter IBM MQ JMS点对点测试获取NumberFormatException - JMeter IBM MQ JMS Point-to-Point test getting NumberFormatException JMeter JMS 发布者 IBM MQ Java.lang.NoClassDefFoundError - JMeter JMS Publisher IBM MQ Java.lang.NoClassDefFoundError 如何在 Jmeter 中使用 JMS Point-to-Point Sampler 将消息发送到 IBM MQ 队列 - How can JMS Point-to-Point Sampler be used in Jmeter to send messages to an IBM MQ queue 尝试在jmeter中使用jms发布者/订阅者连接到IBM MQ - Trying to use jms publisher/subscriber in jmeter to connect to IBM MQ 如何解决javax.naming.NameNotFoundException:JMeter中的com.ibm.mq.jms.MQQueueConnectionFactory错误 - How to resolve javax.naming.NameNotFoundException: com.ibm.mq.jms.MQQueueConnectionFactory error in JMeter Jmeter连接到IBM MQ - Jmeter to connect to IBM MQ 使用JMETER进行MQ负载测试以进行JMS点对点消息传递 - MQ Load Testing using JMETER for JMS Point-to-Point Messaging 如何从没有JNDI属性的JMS发布者连接到IBM MQ? - How to connect to IBM MQ from JMS publisher without JNDI properties? 如何通过 IBM MQ 使用 JMS 点对点消息传递模型测量 SuT 的响应(处理)时间? - How can I measure the response (processing) times of a SuT using JMS Point-to-Point messaging model through IBM MQ? 对于使用 JMeter 的 IBM MQ 测试,需要将 JMS_IBM_LAST_MSG_IN_GROUP 属性设置为 true - Need to set JMS_IBM_LAST_MSG_IN_GROUP property to true for IBM MQ testing using JMeter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM