Forum Discussion
OK, I tried and it didn't really work, but I'm not sure I did it correct.
I'm not sure I understood how to configure it, but 1st i want to understand how it works.
I have a test with my request, then i added a step to this test called SOAP Mock Response.
What will this do? I don't want the response to be returned by the test step.
I want my service, which the one I'm sending the request to(in the 1st step of my test), will send the message to the soap ui mock service(which is a different soapUI project).
How do I configure that in the step called SOAP Mock Response? Is that even possible?
I hope you understood. If not, let me know and I'll try to clarify it.
Thanks a lot for you help, I'm stuck with this for a few days...
Ok, hopefully we can work through it.
So, to configure it you need to supply a port and context to listen on. Then when the TestCase runs, the mock response test step will start to listen on localhost+port+path specified and wait until it receives the callback request. You set the path & port to match the call back url that is passed to your service in the original request. When a the mock response test step receives a request it will despatch a response (as specified in the mock response test steps editor on the right) - i dont think there's a way to prevent this response.
Does that make more sense?
Regards,
Rup