Web Services/Rest API Testing with SoapUI and Real-time Projects

Video description

Do you want to get up and running with SoapUI to test web services and APIs? This course is designed in a manner that lets you learn from scratch without any knowledge of SoapUI, web services, and REST API.

The course starts with an introduction to web services and APIs, enabling you to understand the different types of web services and the importance of Web Services Description Language (WSDL) in web services. Next, you will learn to manually test web services and APIs using the SoapUI tool and use Groovy to trigger SoapUI requests for automation testing. As you progress, you will learn to design the SoapUI framework from scratch using TestNG, Jenkins, and Java API. Moving along, you will understand the concepts of security and database testing using SoapUI and learn how to integrate SoapUI with Eclipse. Before you wrap up, you will prepare for job interviews with sample interview questions and get an introduction to SQL queries for database testing.

By the end of this course, you will be well-versed with web services and APIs specifications and will be able to write effective manual and automation test cases for web services and APIs.

What You Will Learn

  • Distinguish between Web Services Description Language (WSDL) and SoapUI protocol
  • Test web services and REST API using SoapUI
  • Write robust automation scripts for API testing using SoapUI features
  • Develop robust automation framework for API test cases
  • Understand the importance and procedure of mocking web services
  • Perform security and database testing using SoapUI


Whether you are new to testing or an experienced manual or functional automation tester, who wants to explore manual and automation testing of web services using SoapUI, this course is for you. Penetration testers who want to understand security flaws will also find this course useful. You can get started with this course without any prior knowledge of web services testing or SoapUI.

About The Author

Rahul Shetty: Rahul Shetty is the founder and trainer at Rahul Shetty Academy. He is a passionate software tester and has 13 years of rich experience in the IT industry. He has completed more than 300 offline training batches. Rahul has extensive knowledge in web automation testing, mobile automation testing, and API automation testing. He has also worked with various CMM-level organizations and managed the set-up of QA processes for projects.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Introduction to Web Services
    1. Introduction to the Course
    2. What are Web Services? - With Live example
    3. Types of Web Services - SoapUI and REST API
    4. What is Web Services Description Language (WSDL)? Importance of WSDL in Web Services
    5. Difference between the Web Services Description Language (WSDL) and SoapUI Protocol
  2. Chapter 2 : Exploring SoapUI Tool Basic Features
    1. Installing and Documenting SoapUI
    2. Calculator Web Service Example
    3. Creating Test Suites and Test Cases
    4. Local Web Service Installation for Practice
    5. Explaining Web Service Operations in Detail
  3. Chapter 3 : Web Services Testing (Manual) with SoapUI - Free Version
    1. Basic Assertions for Test validations
    2. Advanced Assertions for Validating Responses
    3. Strategy to Use Xpath Assertions in Tests
    4. Properties Access-data Driven Strategy
    5. Accessing Properties from Test Case, Suite, and Project Level
    6. How to Send Values from Response to another Request-property Transfer?
    7. End- to-End Exercises
  4. Chapter 4 : Web Services Automation Testing in SoapUI - Free version
    1. Introduction to Groovy Script Test Step
    2. Importance of TestRunner and Context Variable
    3. TestRunner Methods for the get Property() and set Property()
    4. Accessing and Updating Properties through Groovy Methods
    5. Parsing the XML Requests and Responses with XML Holder API
    6. Triggering the SoapUI Requests through Groovy Code
    7. Automating Services - Practice Exercises
    8. Validating the Service Responses with Assertions
  5. Chapter 5 : REST API Testing (Manual) with SoapUI Free version
    1. REST API Concepts
    2. REST API - Types of HTTP Methods
    3. Practical Example on the GET and the POST
    4. Add Place Post HTTP Example Using SoapUI
    5. End-to-End Test of SoapUI Features on the Post HTTP API
  6. Chapter 6 : REST API Automation Testing with SoapUI Free version
    1. JSON Script Assertion Window Automation
    2. Parsing the JSON Responses for API Validation
    3. Examples of REST API Automation with JSON as a Response
    4. Examples of REST API Automation with XML as a Response
  7. Chapter 7 : Rest API JSON Assertions and Validations
    1. Flicker API Introduction
    2. JSON Path Extraction from Responses
    3. JSON Assertions on Parsed Responses
    4. Advance Example on JSON Assertions
  8. Chapter 8 : End-to-End Framework Design
    1. Framework Design Plan
    2. Understand Preparing API Tests from Functional Documents
    3. Building Rest API Project in SoapUI
    4. Creating Test Cases from the Defined API
    5. End-to-End Testing on Library API
    6. Install Eclipse and Java for API Automation Testing
    7. Creating of Java API Project for the Framework Setup
    8. Web Services Description Language (WSDL) Project Concepts for Java Tests Setup
    9. TestNG Integration to Java API Tests
    10. Different Combinations of Tests for Web Services Description Language (WSDL) API
    11. Defining TestNG.xml file for One Single Trigger Point to All Tests
    12. Commands to Trigger TestNG Java API Tests
    13. HTML Reports and Jenkins Installation
    14. Integrating the Framework with Jenkins
  9. Chapter 9 : SoapUI Pro Tool Extra Features
    1. Basics of Pro Tool - Version
    2. Data Source
    3. Data Sink
    4. DatGen Types
    5. Test Case Debugging and Breakpoints
    6. Reporting Techniques
    7. Jasper Reports and Web Recording
  10. Chapter 10 : Security Testing with SoapUI
    1. List of Security Threats
    2. Security Test Cases
    3. Security Testing-Practical Example
  11. Chapter 11 : Database Testing with SoapUI
    1. Database Concepts
    2. Creating a Database from Scratch
    3. SoapUI and Java Database Connectivity (JDBC) Connection
    4. SQL Queries Testing with SoapUI Features
    5. SQL Builder - SoapUI Pro
  12. Chapter 12 : Load Testing on REST API
    1. Performance Testing Tool used for Testing REST API
    2. Putting Load on REST API Calls
  13. Chapter 13 : Interview Questions Module
    1. Interview Questions - Part 1
    2. Interview Questions -Part 2
    3. Interview Questions - Part 3
    4. Interview Questions - Part 4
  14. Chapter 14 : Introduction to SQL Queries
    1. Introduction to SQL and MySQL
    2. Downloading MySQL Server with Workbench
    3. Overview of SQL Editor with Basic Features
    4. Creating Database and Pointing to it
    5. Creating Tables in a Database
    6. Inserting Records in a Table
    7. Retrieving Records from a Table
    8. Select Distinct Keyword in Queries
    9. SQL WHERE Command Usage
    10. Logical Operators on Queries - AND OR
    11. Regular Expressions Introduction
    12. Logical Operators "In" and "'Between"
    13. Wild Cards Usage in Queries
  15. Chapter 15 : Old Videos with Groovy Basics - Worth Watching!!
    1. Using Script Assertions Window Methods
    2. Message Exchange and Context Variables Usage
    3. Declaring Name Spaces for Effective XPATH Identification
    4. End- to-End Examples on REST API - Part 1
    5. End- to-End Examples on REST API - Part 2
    6. Basic Programmes
    7. Groovy Operators, Data Types
    8. Loops, Arrays, and List

Product information

  • Title: Web Services/Rest API Testing with SoapUI and Real-time Projects
  • Author(s): Rahul Shetty
  • Release date: February 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789134926