Forum Discussion

snehchaya's avatar
snehchaya
Occasional Contributor
14 years ago

Using SOAPUI for SOAP Over JMS Testing

I am trying to use SOAP UI 4.0.1 for SOAP Over JMS Testing. I have configured Hermes JMS with my TIBCO EMS session and able to discover queues/topics etc..

I created a project in SOAPUI using the concrete WSDL for my SOAP Over JMS service. and checked on Add SOAPAction as property checkbox.

While running the test I can see the message being put in the intended queue , but even though the service is running its not being picked up and so the message does not get processed and times out. Is there any other property to be added ? If yes which and where? Is there any step by step instructions with diagrams if possible to achive the same? Can some one point me to that?

Also Can SOAPUI receive the webservice response on a temporary queue? How do we specify that for JMS endpoint to be used to send the request.

Thanks for the help in advance.

5 Replies

  • Hi,

    Whatever you are doing is correct to the best of my knowledge.

    Check with the property JMSDeliveryMode.

    Yes, soapUI can receive the webservice response on a temporary queue. This patch was given by Gabor Herr during soapUI 3.6.1 version and soapUI team has included this patch in all the versions of soapUI(above 3.6.1)

    Regards,
    Rohit Shingalapur
    http://rohit-developerscorner.blogspot.com
  • snehchaya's avatar
    snehchaya
    Occasional Contributor
    Hi Rohit,

    Thanks for the reply. I have got it working by adding SOAPAction JMS Property explicitely to the test case.

    I also got the temporary reply queue working by adding "::queue_" to the JMS Endpoint as shown in the example below.

    "JMS://LOCAL_EMS::queue_requestqueuename::queue_"

    Next I am trying to use loadui to for load testing of this service. I am getting exceptions for the hermes JMS classes not found and trying to fix those. I will update this post once I can get it working.

    Thanks,
    Snehchaya.
    • sat77's avatar
      sat77
      Occasional Visitor

      Hi,

      I have web service where it has two bindings /service (SOAP/HTTP   & SOAP/JMS), we are trying to test thru SOAP/JMS. This web service is a retrieve service which returns data. 

      To test thru SOAP/JMS - firstly created JMS configuration with Queue as "Publisher". Under test case created step as "JMS Request"  selected respective queue configured, as suggested above appended with  "::queue_"  , pasted SOAP request , triggered but no response seen.

       

      Could you please tell am i doing correctly. 

       

      Thanks,

      Sat77

       

  • snehchaya's avatar
    snehchaya
    Occasional Contributor
    Hi Rohit,

    I have created another topic in loadui forum for the same "Using LOADUI for SOAP Over JMS Load Testing".

    I am getting class not found exception for JAXBHermesLoader. You can find the details for the same on this topic.

    Can you please check and reply if you know the answer for the same.

    Regards,
    Deepa Patwa.