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

Property transfer

We have seen in our pre examples that in service orchestration, response parameter data of one service may become essential for the other service. Therefore, we would need to transfer the necessary data from a response to another request. To achieve the data transfer between services we use property transfer.

To add property transfer as a test step, repeat the steps as shown previously to add a groovy script and finally, when you reach the window where you have all the steps listed, select the following step:

You will then find the Property Transfer configuration window:

In the preceding window you need to configure the following:

  • Source: Test step which is the source of the data to be transferred

  • Property: Usually the response which has the response parameter data to be transferred

  • Path language: XPath for a single node of the same parameter name, X query for a multiple data set with the same parameter name, and JSON for a REST API using JSON message exchange format

  • Target...