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

SoapUI and Selenium integration


To integrate SoapUI with Selenium and work on creating scripts with it, we need the following prerequisites:

  • Java 1.7 (preferably the latest version)

  • Selenium Jars 2.0 or webdriver

  • Object Inspectors, for example, Firebug or Fire path which are add-ons for Firefox

  • Groovy script Jars

  • Any browser supported by Selenium and compatible with the version used.

Now let's start with Selenium integration with SoapUI:

  1. Download Selenium.jar files from the following link, shown in the image:

    http://www.seleniumhq.org/download/

  2. Download the Java language version of the Jars, once that is done a ZIP folder should be downloaded onto your PC.

  3. Unzip the Selenium – Java-'version no' folder.

  4. Open the unzipped folder.

  5. Copy the selenium-java-2.52.0.jar and selenium-java-2.52.0-srcs.jar from the folder.

  6. Open the SoapUI directory folder (In the previous chapter I opted for a default location, such as C:\Project\SoapUI. Refer to this location).

  7. Place these jars in the following locations: ext...