Book Image

Mastering SoapUI

By : Pranai Nandan, Surendra Mohan
Book Image

Mastering SoapUI

By: Pranai Nandan, Surendra Mohan

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
About the Author
About the Reviewer
SoapUI Integration with Jenkins and HP QC

Test automation using SoapUI

A test automation framework is usually comprised of the following:

  • Test drivers: A test driver is usually the mechanism through which the test is executed

  • Assertion/validations: Assertions to validate if the test passed or failed

  • Report generating tools: Report generation to get the test results

  • Clean-up script: To clear all data generated for test

  • E-mail notification: E-mail notification of test results

Types of test automation framework

Keyword driven: A keyword driven framework is a collection of keywords, which are maintained in an Excel sheet, and functions are called based on the keyword to complete an end-to-end flow.

Major components of a keyword-driven framework:

  • Excel sheet to store the keywords: Where you store your keyword with respect to your test cases and terminology selected by you

  • Function library: Functions that you create which should be tied up with the keywords

  • Data sheets: Data sheets contacting data

  • Test script or driver script: Test script...