JMeter Version: 2.10 . ActiveMQ 5.9
I have a point to point JMeter script that successfully places a message on a queue. This messaged is then consumed, transformed and placed on a different queue. When I test just a request method (from jmeter), the message is successfully submitted, transformed and returned to the out queue, however when I configure JMeter to consume the response on the out queue, it shows the original request message payload as the response.
Here is my JMeter script details:
JMS Resources
- QueueuConnectionFactory: ConnectionFactory
- JNDI Name Request Queue: Q.REQ
- JNDI Name Reply Queue: Q.RPL
Message Properties
- Communication Style: Request Response
- Use alternate fields for message correlation: Use Request Message ID (ticked)
- Content: (XML Payload)
JNDI Properties
- InitialContextFactory: org.apache.activemq.jndi.ActiveMQInitialContextFactory
- queue.Q.REQ: message.in
- queue.Q.RPL: message.out
- java.naming.security.principal: admin
- java.naming.security.credentials: admin
Properties
- Provider URL: tcp://localhost:61616
I've also tried a few different combinations such as removing the reply queue and specifying a JMSReplyTo as well as manually specifying a JMSCorrelationID. If someone could point me in the right direction or even provide a working jmeter proj example, it would be much appreciated. I also used this guide: http://jmeter.apache.org/usermanual/build-jms-point-to-point-test-plan.html to help build my test.