Book Image

SoapUI Cookbook

By : Rupert Anderson
Book Image

SoapUI Cookbook

By: Rupert Anderson

Overview of this book

Table of Contents (19 chapters)
SoapUI Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Analyzing test, HTTP, and mock coverage (Pro)


SoapUI pro comes with the coverage reporting functionality for test, HTTP traffic, and mocks. In all cases, the coverage is calculated relative to the service's contract. This recipe focuses on SOAP test coverage reporting, on how the coverage scoring works, and how to improve the scores. The other forms of coverage reporting are discussed but not explored in detail.

Getting Ready

There are two sample projects used for this recipe. The first is the SOAPDBMock-Reporting-soapui-project.xml project that is used for the initial coverage run, and the SOAPDBMock-Coverage-soapui-project.xml project, which is a copy of the previous one, but which contains all changes made during the recipe to improve the coverage scores. Both are in the chapter 6 samples.

How to do it...

Test coverage reporting is available at the Project, TestSuite, and TestCase levels, but the functionality is essentially the same, just with different scopes; that is, project coverage...