Forum Discussion

md13's avatar
md13
New Contributor
6 years ago

Testing an async API with SoapUI (free version)

Hi,

 

I wish to test an async API with the tools provided by SoapUI (the free version). At the moment, I have my test that makes a request to the API, then checks the status code of the response to be 202. Here comes the tricky bit - can I set up something like a request 'listener' as part of the test steps? This is because I expect the API to do a callback request at some point.

 

I viewed https://www.soapui.org/soap-and-wsdl/testing-asynchronous-services.html but it does look like it only works with SOAP requests and I need a restful one.

 

Furthermore, when I try to add a mockResponse step as part of my test case I keep getting an odd error which says: "Missing SOAP operations to mock in project", I've looked it up but nothing out there helped.

 

Thank you

1 Reply