简体   繁体   English

JMS jmeter中的点对点

[英]JMS Point-to-Point in jmeter

Reg: JMeter Point-to-Point Reg:JMeter点对点

Could you please tell how to get the QueueConnnectionFaction 您能否告诉我如何获取QueueConnnectionFaction

And ContextConnectionFactory ContextConnectionFactory

Can anyone help me in configuring JNDI properties in JMS POINT-TO-POINT of JMETER 谁能帮助我在JMETER的JMS POINT-TO-POINT中配置JNDI属性

ERROR - jmeter.protocol.jms.sampler.JMSSampler: progress/message/jclient/TopicConnectionFactory java.lang.NoClassDefFoundError: progress/message/jclient/TopicConnectionFactory

Please provide some solution. 请提供一些解决方案。

It seems you didn't put a dependency jar from your jms provider, see: 似乎您没有从jms提供程序中放入依赖项jar,请参阅:

  • java.lang.NoClassDefFoundError: progress/message/jclient/TopicConnectionFactory java.lang.NoClassDefFoundError:进度/消息/ jclient / TopicConnectionFactory

The QueueConnnectionFactory is the container of the queues that is created before the queues. QueueConnnectionFactory是在队列之前创建的队列的容器。 I used to use the Hermes JMS application to get this information but you could get it from WebLogic too. 我曾经使用Hermes JMS应用程序来获取此信息,但是您也可以从WebLogic中获取它。

For example, the next image shows my configuration, using the information of binding for the QueueConnectionFactory field, and using the information of initialContextFactory for the InitialContextFactory field, and do not forget to use the providerURL in the ProviderURL field. 例如,下图显示了我的配置,使用的信息bindingQueueConnectionFactory场,并利用信息initialContextFactoryInitialContextFactory现场,也不要忘记使用providerURLProviderURL领域。

图片1

In this example I am not getting the response. 在此示例中,我没有得到响应。 For this reason, I am only putting the name of my requester queue. 因此,我只将请求者的名称放入队列。

Ensure that the information is correct. 确保信息正确。 In the JMS Properties you could use Headers for the request. 在“ JMS Properties您可以将标头用于请求。

image2

image3

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

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