Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • SoapUI Cookbook
  • Toc
  • feedback
SoapUI Cookbook

SoapUI Cookbook

By : Rupert Anderson
4 (5)
close
SoapUI Cookbook

SoapUI Cookbook

4 (5)
By: Rupert Anderson

Overview of this book

This book is aimed at developers and technical testers who are looking for a quick way to take their SoapUI skills and understanding to the next level. Even if you are new to SoapUI but have basic Java skills and a reasonable grasp of RESTFul and Soap web services, then you should have no problem making use of this book.
Table of Contents (13 chapters)
close
12
Index

Generating mock WAR files from the command line


As you may have seen from the Deploying mocks as WAR files recipe in Chapter 3, Developing and Deploying Dynamic REST and SOAP Mocks, SoapUI has the useful ability to package mock services as WAR files using a wizard. As part of your build process, you may find it more useful to generate your mock service WAR file directly from the SoapUI project file using a script. Like with mocks and tests, this recipe shows how to use the <SoapUI Home>/java/app/bin/wargenerator.sh command-line script to do this. You can then use a variety of means, for example, Shell, Maven, or Gradle, to generate and deploy the mock service WAR file to a servlet container or application server of your choice.

Getting ready

Like before, we just need to install SoapUI and access the SOAPMock-soapui-project.xml project from the chapter 3 samples.

You may find it helpful to refer back to the Deploying mocks as WAR files recipe from Chapter 3, Developing and Deploying Dynamic...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete