简体   繁体   English

JMeter JMS点对点请求响应:“未收到回复消息”

[英]JMeter JMS Point-to-Point Request Response: “No reply message received”

I have created a JMS Point-to-Point Request Response test as documented in the JMeter manual. 我已经创建了JMS点对点请求响应测试,如JMeter手册中所述。

My JMeter Point-to-Point Configuration: 我的JMeter点对点配置:

在此输入图像描述

When I run it, however, it always times out on the response. 然而,当我运行它时,它总是超时响应。 If I look at the sampler log file, I seem rm="No reply message received" : 如果我查看采样器日志文件,我似乎rm="No reply message received"

<sample t="1016" lt="0" ts="1350683197138" s="false" lb="JMS Point-to-Point" rc="" rm="No reply message received" tn="Attributes Fetch 1-1" dt="text" by="0"/>

I know my consumer is set up correctly to reply based on replyTo JMS header. 我知道我的消费者设置正确,可以根据replyTo JMS标题进行回复。 In fact - if I look at the ActiveMQ management console, it shows me that the reply queue I specified has queued and dequeued exactly the number of messages in the test. 实际上 - 如果我查看ActiveMQ管理控制台,它会向我显示我指定的回复队列已排队并准确地将测试中的消息数排队。 So it looks like JMeter is dequeing them, but something goes awry after that! 所以看起来JMeter 正在推出它们,但之后出现了一些问题!

My ActiveMQ Management Console: 我的ActiveMQ管理控制台:

在此输入图像描述

Has anyone been able to do this successfully with JMeter and ActiveMQ? 有没有人能够成功地使用JMeter和ActiveMQ?
I am using JMeter 2.8 and ActiveMQ 5.6.0. 我正在使用JMeter 2.8和ActiveMQ 5.6.0。

It is certainly due to correlation attributes chosen. 肯定是由于选择了相关属性。

Read carefully this: 仔细阅读:

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

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