soapUI mock services in action

In the following sections, we will move forward with our sample MockService with trying out the various options which we discussed previously. First, we will look into the simplest use case, where we use a static MockResponse.

Static responses – the basic scenario

Creating a static MockResponse in soapUI is pretty straightforward. You may question whether the static responses are used in real-world scenarios. Though static MockResponses are simple they are of course very useful in a lot of enterprise integration test scenarios.

Service chaining

In a typical service-oriented solution, the messages can be transmitted through multiple hops before reaching the destination. We cannot always expect single client to service ...

Get Web Services Testing with soapUI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.