我正在尝试在JMeter JMS点对点测试中获取“消息详细信息”(如ActiveMQ Admin GUI中所示)。
JMeter测试可以成功执行,但是响应未显示消息详细信息。
JMeter中的响应:
ActiveMQBytesMessage {commandId = 38,
responseRequired = false,
messageId = ID:U278291-61435-1537514165031-1:10:15:1:2,
originalDestination = null,
originalTransactionId = null,
producerId = ID:U278291-61435-1537514165031-1:10:15:1,
destination = queue://MyQueue,
transactionId = TX:ID:U278291-61435-1537514165031-1:10:3,
expiration = 0,
timestamp = 1537516758919,
arrival = 0,
brokerInTime = 1537516758920,
brokerOutTime = 1537516758935,
correlationId = MsgId-1537516758901,
replyTo = null,
persistent = true,
type = document.provideAndRegisterResponse,
priority = 4,
groupID = null,
groupSequence = 0,
targetConsumerId = null,
compressed = false,
userID = null,
content = org.apache.activemq.util.ByteSequence@75b32fd0,
marshalledProperties = null,
dataStructure = null,
redeliveryCounter = 0,
size = 0,
properties = null,
readOnlyProperties = true,
readOnlyBody = true,
droppable = false,
jmsXGroupFirstForConsumer = false}
ActiveMQBytesMessage{ bytesOut = null,
dataOut = null,
dataIn = null }
我还使用“ JMS Publisher”和“ JMS Subscriber”尝试了该测试,但是响应很简单:“在BytesMessage中接收到959个字节”。
对于我如何在JMeter中获取响应文本的任何帮助,将不胜感激。
JMeter版本:5.0 ActiveMQ:5.14.3