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

Performance testing using SoapUI


We have already seen in Chapter 1, Introduction to SOA Testing, how to create a performance testing script using SoapUI so let's move on further from there.

We have four load generation strategies in SoapUI:

  • Simple

  • Thread

  • Variance

  • Burst

Let's go through each of them in detail.

Simple strategy: This strategy addresses three types of performance test:

  • Baseline test

  • Load test

  • SOAK test

The simple strategy generates a specific amount of virtual user load on the application with a ramp up time between each thread to give breathing space to the application under test.

Following screenshot shows the configuration window where the setting for the simple strategy is set.

The following window is common for each strategy type but works differently for each load generation strategy:

Let's take a detailed look at the previous screenshot:

  • Threads: To specify the amount of virtual user load on the application in the preceding example we have used five threads which means five virtual...