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

End-to-end demonstration of testing an orchestrated flow

Testing an orchestrated flow is very interesting in SoapUI and the tools help you a lot while also automating your end-to-end flow. Let's take an example of a service orchestration in a stock management application:

  • Example: The application has five APIs for maintaining stock

  • Get Stock Availability: Get the availability of the stock

  • Reserve Stock: Reserve the Stock if the stock is available

  • Commit Reservation: Finally commit a reservation based on the reservation ID received from the reserve stock response

  • Validate Reservation: Validate whether the reservation commit was successful or not

  • Cancel Reservation: Cancel a reservation

  • Scenario1: Canceling a reserved stock and verifying if the stock gets added in the available stock list or not.

    • Call1: Get stock Availability: This returns the availability of the stock with the number of quantities available

Validations on the call:

  • V1: Verify that the number of Quantities Returned are in...