Book Image

Mastering SoapUI

Book Image

Mastering SoapUI

Overview of this book

SoapUI is an open-source cross-platform testing application that provides complete test coverage and supports all the standard protocols and technologies. This book includes real-time examples of implementing SoapUI to achieve quality and business assurance. Starting with the features and functionalities of SoapUI, the book will then focus on functional testing, load testing, and security testing of web services. Furthermore, you will learn how to automate your services and then design data-driven, keyword-driven, and hybrid-driven frameworks in SoapUI. Then the book will show you how to test UIs and services using SoapUI with the help of Selenium. You will also learn how to integrate SoapUI with Jenkins for CI and SoapUI test with QC with backward- and forward-compatibility. The final part of the book will show you how to virtualize a service response in SoapUI using Service Mocking. You will finish the journey by discovering the best practices for SoapUI test automation and preparing yourself for the online certification of SoapUI.
Table of Contents (18 chapters)
Mastering SoapUI
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
7
SoapUI Integration with Jenkins and HP QC
Index

Integrating everything together


Requirements of a test automation framework:

  • Implementation of continuous integration testing where tests are run each time a build changes or as a business needs.

  • An external data source is required to keep test data.

  • Integration with test management tools

  • The test case has JMS services exposed over IBM MQ so we need a handler for the JMS message. We need reports to be generated and sent by e-mail to destined stakeholders

So, after analyzing the preceding requirements, lets simplify them:

  • We need a data-driven framework

  • We need to have a solution where we can invoke the UI

  • We have an exposed web service so we would need a handler or a tool integration for the same

  • We need the test case repository to be updated automatically when automated test runs.

  • We need to generate reports and e-mail automatically.

  • We need to integrate the framework with tools like Jenkins.

So the big question is how do we do it? Let's take it step-by-step:

  1. Data driven framework.

    Solution: we have...