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

Deploying mock services to an external server

We can deploy mock services to any servlet container example: Tomcat

To do that we need to extract the WAR file from the SoapUI project and then move the WAR file to Tomcat where it can be accessible to any consumer of the mock service.

Extracting the WAR file:

  1. Right click on the project level and verify that following screen is populated:

  2. On the preceding screen select the option Deploy As War.

  3. Verify that the user is presented with the following popup:

  4. On the preceding popup, select the above options as per your machine and click on the OK button.

  5. In the WAR directory selected you will now get your War File and the dependent file generated with the name of the WAR file mentioned.

  6. Once you have the generated the WAR file you may now deploy it to a Tomcat instance.

With this we have come to the end of this chapter.