Forum Discussion

Tareque's avatar
Tareque
Occasional Contributor
19 years ago

Asynchronous Testing using soapUI pro

Hi
I am trying to Test an asynchronous request in soapUI pro using MockResponse. My requirement is that my service takes an Input XML which is processed and put in a JMS queue and an acknowledgment response is sent back to the client . The input XML also has a tag called http://localhost:8181/AsyncTest. The service then picks up the message from the JMS queue does further processing hits this url .
Given the above scenario is it possible  to use soapUI pro to create a listener that will listen for the service to send back a response after processing the message from the JMS queue. I am new to MockResonse so I am unable to figure this out, any help will be appreciated.
Thanks

28 Replies

  • Lalex's avatar
    Lalex
    Occasional Contributor
    Thank you, I'll fix it and try again.
  • Lalex's avatar
    Lalex
    Occasional Contributor
    Well, chaning NS didn't help.

    But, I removed SOAPUI, installed a fresh version and it works.

    Before that I installed 2.5.1 over 2.5. Now it's fresh 2.5.1 installation and mock services work.

    Thanx for the help,
    Alex.
  • yaron's avatar
    yaron
    New Contributor
    Hello,

    Sorry, i was trying to figure out from this thread and soapui documents "how to execute web service method in async mode and get the result event after 10 minutes",

    i read all the articles and unfortanatlly found nothing, can you please publish the exact scenario  "How to setup async call " and the login behind the scenario,

    Thanks

    Yaron.
  • jamithj's avatar
    jamithj
    New Contributor
    Hi Ole

    I am having the problem of testing one of my asynchronous processes like Taraque had.

    What my process does; takes student id as input and reads the corresponding image from one server and
    does ftp to another two servers and gives the callback whether the process is successful or not, if not it will
    return fault message.

    I tried to follow the steps you have given to set up the mockResponse in the test suite but when I run the
    test suite it reaches the mock Response and waits indefinitely. The problem I have is to get the response
    back from the server.

    Can you please help on this ? The situation is crtical from my side. And I am trying with soapUI Pro.

    Thanks
    Jamith
  • Hi Jamith,

    to me this sounds like a standard synchronous request to your process, ie it sends a request and waits for the response on the same http-transaction.. is that not the case?

    regards!

    /Ole
    eviware.com
  • We are new to mockresponse's. mockresponse is not working as expected when added as a teststep even after setting properties like port/path/operation in soapui Pro 4.5.1 licensed version. looking for help.
  • Hi jay76,

    If you're using SoapUI Pro, please post in the "soapUI Pro Support" forum to receive support from the team. If you by any chance are unable to post in those forums despite having a license, let me know and we'll sort it out as soon as possible.

    Regards,
    Arian
    SmartBear Sweden