apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
7.97k stars 2.02k forks source link

Jmeter: JMSSampler could not able to get the actual response body message from ActiveMQ REPLY Queue #6266

Open sksamy008 opened 1 month ago

sksamy008 commented 1 month ago

Expected behavior

Have created the JMS Sampler in Jmeter to test my PTP(point to point) ActiveMQ queues. I have REQUEST and REPLY queues configured in the JMS configuration. So the expected response body from reply queue was "isAuth=false" but I have received was different than that:

Actual behavior

What I received from the response queue was:

ActiveMQBytesMessage {commandId = 5, responseRequired = false, messageId = ID:PC9:2:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:PC9:2:1:1:1, destination = queue://authentication-service[IsAuthEnabledRequest].out, transactionId = null, expiration = 0, timestamp = 1712675266273, arrival = 0, brokerInTime = 1712675266245, brokerOutTime = 1712675266276, correlationId = a1f38dc7-9983-442b-be48-3ac6cb030ecb, replyTo = queue://authentication-service[IsAuthEnabledRequest].out, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apache.activemq.util.ByteSequence@764d9739, marshalledProperties = org.apache.activemq.util.ByteSequence@788a6780, dataStructure = null, redeliveryCounter = 0, size = 0, properties = {CamelMessageTimestamp=1712675266247, CamelJmsDeliveryMode=2, __AMQ_CID=5c558a9a-f615-11ee-9a15-1e775db40f5d, type=SMS, transferException=true, Content_HYPHEN_Type=application/json}, readOnlyProperties = true, readOnlyBody = true, droppable = false} ActiveMQBytesMessage{ bytesOut = null, dataOut = null, dataIn = null }

Steps to reproduce the problem

image

JMeter Version

5.6.3

Java Version

openjdk 17.0.5 2022-10-18 LTS

OS Version

windows