Summary

This chapter guided you through one of the most important aspect of web services and SOA testing, service simulation. We have discussed the situations where the service mocking is required in general. Then we went through how soapUI facilitates you to create mock services. The MockService model of soapUI consists of three key elements known as MockService, MockOperation and MockResponse. We briefly discussed each of these elements using examples. We also looked into MockResponse dispatching methods and how one MockResponse can be chosen from multiple responses inside a MockOperation. With Groovy scripting facilities, soapUI allows us to do various manipulations on mock services, hence dynamic response generation is not a complex task for ...

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.