Web Age Solutions Inc
Providing Technology Training and Mentoring For Modern Technology Adoption
Web Age Aniversary Logo
US Inquiries / 1.877.517.6540
Canadian Inquiries / 1.877.812.8887
Course #:WA2387

Hands-On soapUI Training

Courseware: Available for sale

This course will provide students with an understanding of how soapUI works, how to create functional tests and mock services, and how to use soapUI to test web service or other service-oriented components.

soapUI is a free and open source cross-platform Functional Testing solution. With an easy-to-use graphical interface, and enterprise-class features, soapUI allows you to easily and rapidly create and execute automated functional, regression, compliance, and load tests. In a single test environment, soapUI provides complete test coverage and supports all the standard protocols and technologies.

What you will Learn

In this training, attendees will learn how to:

  • Create tests, test cases and test suites using the soapUI tool
  • Use data-driven testing
  • Use database queries to validate tests
  • Use Groovy scripting language to customize soapUI tests and create mock services
  • Use various features of soapUI


Attendees should have some prior understanding of web service and service-oriented architecture, as well as the associated communications protocols, SOAP and HTTP.


2 Days

Outline of Hands-On soapUI Training

1. Basic XML Review

  • Well-formedness rules
  • Namespaces
  • XML Document Structure
  • Schema Introduction
  • What is Schema?
  • How do I find the schema?
  • Reading schema – elements, attributes, types
  • Schema data types –string, int, float, date, etc
  • XPath
  • XQuery

2.  soapUI basics

  • What it does
  • What are projects
  • Composite projects
  • Organization of a project – Test Cases, Test Steps, Test Suites, Assertions
  • Requirements management
  • Mapping test cases to requirements

LAB 1 – Create a Project

3. Functional Testing

  • Structure of tests
  • Test Suites
  • Test Cases
  • Test Steps
  • Request TestStep
  • Property Expansion
  • Assertions
  • Types of Assertions
  • Scripted Assertions
  • Flow Control
  • Branching and Looping
  • Conditional Goto
  • Delay
  • Saving Test Data
  • Manual TestStep

LAB 2 – Basic Functional Testing

4. Modularizing Tests

  • Run TestCase TestStep
  • Script TestStep/soapUI API

LAB 3 – Reusing a Test Step

5. Scripting

  • Intro to Scripting
  • Intro to Groovy
  • Objects
  • Expressions
  • Libraries
  • soapUI API

LAB 4 – Create a Simple Groovy Script (outside soapUI)

LAB 5 – Add Groovy Script to TestCase

6. Data-Driven Testing

  • DataSource
  • DataSourceLoop
  • Generated Data

LAB 6 – Data Driven Testing

7. Mock Services

  • Creating Mock Services
  • Generating Responses
  • Securing Mock Services with SSL
  • Deploy Mock Service as WAR File

Lab 7 – Create a Mock Service

8. Security Testing

  • Security Scans

LAB 8 – Security Scan

9. HTTP Recording

  • Setting up the HTTP Monitor
  • Proxy mode
  • Pass-through mode

Lab 9 – HTTP Monitor

10. JMS

  • Integrating with JMS
  • JMS Messages
  • Sending Arbitrary JMS Messages
  • Validating JMS Responses
  • Issues with JMS Testing
  • Is your transaction really request/response?
  • Scripting

Lab 10 – Test a JMS Service

11. Using Databases

  • JDBC TestStep
  • JDBC Connections

Lab 11 – JDBC Query

12. Using WS-Security

Note:  This chapter is not intended to be a deep discussion of WS-Security – the focus is on setting up the client environment in soapUI in order to make calls to secure services and validate that security is present.

  • Keystores and key material
  • WSS Configurations
  • Encryption
  • SAML Assertions
  • Username
  • Signature
  • Timestamp
  • Using configurations in outbound requests
  • Using configurations in inbound requests
  • WS-Security Status Assertions

LAB 12 – WS-Security Setup and Validation

13. Load Testing

  • Creating load tests from existing test cases
  • Simulating different types of load
  • Validating Performance
  • Exporting Data and Statistics

Lab 12 – Create and Run a Load Test

14. Advanced soapUI Concepts

  • Environments
  • Database Connections & Tests
  • Form-based authentication
  • Test Automation
  • Running from the Command Line
  • JUnit Integration
  • Maven Integration
  • Web Service Test Coverage Reports
  • Configuring soapUI – JVM Options and Memory Management

15. Reporting

  • Printable Reports
  • Exporting Data

16. Final Integration Workshop

This is a minimally-directed project lab, in which students will begin with a WSDL file and provided service implementation, and implement a complete set of data-driven functional tests, using the various scripting capabilities of soapUI.

We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
US Inquiries / 1.877.517.6540
Canadian Inquiries / 1.877.812.8887