Creating SoapUI Test Projects

This section provides a tutorial example on how to create test projects with TestSuite, TestCase and TestSteps in SoapUI.

In SoapUI, tests are organized into a hierarchical tree structure as described below from bottom to top:

When you start with a new installation of SoapUI, you will have a single default empty Workspace called "Projects".

Here is how you can add your own projects, TestSuites, TestCases and TestSteps manually in SoapUI:

1. Run SoapUI 5.2.

2. Right-mouse click on “Projects” and select "Create Empty Project”. You will see an empty project called "Project 1" created.

3. Right-mouse click on "Project 1" and select "New TestSuite". Then enter "MyTestSuite" as the name and click "OK". You will see an empty TestSuite called "MyTestSuite" created.

5. Right-mouse click on "MyTestSuite" and select "New TestCase". Then enter "MyTestCase" as the name and click "OK". You will see an empty TestCase called "MyTestCase" created.

5. Right-mouse click on "MyTestCase" and select "Add Step" > "Groovy Script". Then enter "HelloWorld" as the name and click "OK". You will see an empty script window called "HelloWorld" created.

Very nice. Now I have my "HelloWorld" TestStep stored in "MyTestCase", which is stored in "MyTestSuite", which is stored in "Project 1" in the "Projects" workspace.

SoapUI Test Project Tree View
SoapUI Test Project Tree View

Last update: 2015.

Table of Contents

 About This Book

SoapUI - Web Service Testing Tool

 What Is SoapUI?

 Downloading and Installing SoapUI

Creating SoapUI Test Projects

 Creating and Running Script

 SOAP Web Service and SoapUI

 REST Web Service and SoapUI

 GetCountries - Get All Countries and Territories

 GetCurrencies - Get Currencies from All Countries and Territories

 GetGMTbyCountry - Get GMT Information of a Given Country

 GetISD - Get ISD Phone Code of a Given Country

 GetCitiesByCountry - Get Cities by Country

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 GetInfoByState - Get ZIP Codes of a Given US State

 GetAirportInformationByCountry - Get Airport Code by Country

 GetGeoIP - Get Country by IP Address

 ConvertTemp - Convert Temperature Unit

 ChangeLengthUnit - Convert Length Unit

 ConvertWeight - Convert Weight Unit

 ChangeAreaUnit - Convert Area Unit

 Code39 - Generate Bar Code Images in Code 39 Format

 GenerateBarCode - Generate Bar Code Images

 GetMortgagePayment - Calculate Mortgage Payment

 ConversionRate - Get Currency Exchange Rate

 GetQuote - Get Stock Quote

 getTime - Get the Current Time

 GetSunSetRiseTime - Get Sunrise and Sunset Time

 GetWeatherByZipCode - Get Weather by ZIP Code in US

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 questionSearch - Search Yahoo! Questions and Answers

 flickr.interestingness.getList - Get Interesting Photos

 Hotwire - Get Travel Ticker Deals

 Outdated Tutorials

 References

 PDF Printing Version