apache / apache/jmeter

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

Open
#6,266 0 comments 0 reactions 0 assignees View on GitHub
regression to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### 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](https://github.com/apache/jmeter/assets/114407460/33dac2ba-7942-4f43-af69-fa274bca04c4)

### JMeter Version

5.6.3

### Java Version

openjdk 17.0.5 2022-10-18 LTS

### OS Version

windows

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.