Forum Discussion

andyandy's avatar
13 years ago

soapui runner with mockresponse test step

Hi,

We're trying to use soapui+loadui to test a service. A short summary is that the soapui part (added with a soapui runner in loadui) needs to first wait for a request to send a "mock response" and later send a request as well. This works fine in soapui, but in loadui the soapui runner skips the first step which causes a property transfer to fail and that breaks the test.

A more detailed description of our scenario:

1. Client adds a message to a queue (JMS).
2. Service A picks up this message and sends a SOAP request to Service B.
3. Service B sends a response back to Service A.
4. Service B creates a new SOAP request that it sends to Service A (this is a ACK / Delivery Notification message).

A soapui test case has been defined with 3 steps to test this:
1. is a manual test step using an external tool, although we could do this from soapui as well using its JMS support.
(2 is external)
3. Mock response
4. Property transfer from 3 and a SOAP request.

As said above, unfortunately loadui just jumps over steps 1+3 here. It then fails in 4 because it cannot transfer the properties.

Thanks for any suggestions on how to solve this, or other ways to test this scenario using loadUI.
No RepliesBe the first to reply