Introduction
This chapter provides a collection of scenario-based recipes to test RESTful and SOAP web services with SoapUI. These are, by no means, the most common scenarios or themes; instead, we'll mostly look at slightly more advanced topics that will hopefully complement basic material available elsewhere.
What you'll learn
You will learn the following topics:
- How to test REST responses for XML and JSON schema compliance
- How to mock and test SOAP attachments
- How to mock and test HATEOAS links
- How to mock and test RESTful and SOAP asynchronous services
- How to use Groovy to check for files and e-mails using IMAP
What you'll need
You will need the following:
- Basic Groovy skills: The Groovy skills learned in the previous two chapters will be put to good use here too
- SoapUI mock skills: Mocking is used extensively in the sample projects, so if you haven't covered Chapter 3, Developing and Deploying Dynamic REST and SOAP Mocks, you may find it useful to refer to it