Forum Discussion

taibc's avatar
taibc
Occasional Contributor
6 years ago
Solved

SOAP UI doesn't show response content correctly

I am trying to use SOAP UI to test jms request, but the response content (in response panel) is the same the sent request, how can I fix this ? (I also try to add option "Add SoapAction as property" ...
  • Nastya_Khovrina's avatar
    6 years ago

    Hi taibc,

     

    As a response, you get a message which is currently in the queue. What JMS provide do you use? 

    You can monitor the queue when you run the JMS test step in SoapUI.

     

    For example, the vn.exchangerate.1.0 queue has 2 messages with:

    messageId: 1
    messageId: 2

    You have this JMS test step in SoapUI:

    jms://SOA_API::queue_vn.exchangerate.1.0::queue_vn.exchangerate.1.0

     

    This test step sends a message with messageId:3 to the queue. In the response, you will see the following:

    messageId: 1

    because this message was first in this queue. And, the current queue state will be the following:

    messageId: 2
    messageId: 3

    If you run the same step once again you will receive:

    messageId: 2

    The current queue state:

    messageId: 3
    messageId: 3

    Finally, if you run the JMS test step one more time, you will get 

    messageId: 3

    because this message is the first in the queue.

     

    And so on...