I want to use Soapui to test JMS webservice, and we use the same queue for sent/receive queues like this:
But there is a problem: The respone window always show request message, and I didn't get the response content correctly.
Do you know how to fix this in (we don't want to use different queues for destinations) ?
Thank you for your post. The response which you get will depend on what you get in the queue at the moment.
For example, if your queue is empty, and, then, you run this test step in ReadyAPI:
you will get the same message as you have in the request.
But, if you have the "Another message" in the queue and you run the same test step in ReadyAPI, you will get the "Another message" as a response. And, the Request message will stay in the queue until someone gets it from there.
@Nastya_Khovrina : Thank you,
As you said: "The response which you get will depend on what you get in the queue at the moment.".
How can I config to sure that I get the correct response content (I don't want to receive another message). In soapui, we can use JMSCorrelationID for this ?
Yes, you can use the JMSCorrelationID header for this.
@Nastya_Khovrina Could you please send me a demo for using JMSCorrelationID header with the same queue (send/receive)
Unfortunately, we don't have a ready example at hand. Maybe the following articles will be useful for you: