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

Chapter 6. Multilayer Test Automation Using SoapUI and Selenium

In SOA-world, we have services which are tied up with the frontend. The front end is tied up with the service, which takes care of the business process and orchestration. So in order to validate the end to end flow from UI to service and then to the legacy systems or backend, we will need to test the integration between all the layers and check the connectivity from technical and functional perspectives across applications.

In this chapter we look at the following things:

  • Multilayer testing

  • Integrating Selenium and SoapUI

  • Locators identification for UI

  • Automating multilayer test cases using Selenium and SoapUI together

Also when we go ahead testing an end to end flow in an enterprise application we often see that some of the third-party or legacy services are not exposed to us because of security concerns and we have to invoke it through the UI in order to complete the end to end flow.

Let's see an example of business flow - a sample...