Jmeter: JMSSampler could not able to get the actual response body message from ActiveMQ REPLY Queue
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:PC<Random numbers>9:2:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:PC<Random numbers>9: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
JMeter Version
5.6.3
Java Version
openjdk 17.0.5 2022-10-18 LTS
OS Version
windows