PacktLib: Web Services Testing with soapUI

Web Services Testing with soapUI

Credits

About the Author

Acknowledgement

About the Reviewers

www.PacktPub.com

Preface

Web Services Testing and soapUI

SOA and web services

Simple Object Access Protocol

Alternatives to SOAP

Web Services Description Language

Message exchanging patterns

SOAP Faults

Approaches of testing web services

What is soapUI?

Capabilities of soapUI

Installing soapUI

A glance at soapUI user interface

Summary

The Sample Project

The problem domain

Project pre-requisites

Designing the web services

Implementing the web services

Deploying web services

Summary

First Steps with soapUI and Projects

Understanding the web services definition

Creating a soapUI project

Invoking the guest management web service

A detailed look at SOAP requests and responses

Generating SOAP Faults

Summary

Working with Your First TestSuite

A sample test scenario

Creating a TestSuite

Running the first TestSuite

Adding properties to soapUI tests

Summary

Load and Performance Testing with soapUI

Non-functional testing of web services

Planning for web service performance testing

Using soapUI for performance testing

Working with load tests in soapUI

Summary

Web Service Simulation with soapUI

Mocking in software testing

Mocking in web services testing

Mock services with soapUI

soapUI mock services in action

Summary

Advanced Functional Testing with soapUI

Introduction to web services extensions

Configuring Apache Axis2 for WS-Addressing and WS-Security

Testing asymmetric binding policy with soapUI

Validating WS-Security responses

Summary

Getting Started with REST Testing

Introduction to REST

Testing RESTful APIs using soapUI

REST Services in soapUI

REST parameters

Functional testing of REST services

WADL

Summary

Testing Databases with soapUI

Testing data in isolation

Setting up soapUI to connect to the database

JDBC Request TestStep

JDBC test assertions

Summary

JMS Testing with soapUI

Introduction to JMS

JMS integration in soapUI

Summary

Extending soapUI with Scripting

Introduction to Groovy scripting language

Groovy scripting in soapUI

soapUI ModelItems

Request and response handling using Scripts

Summary

Automated Testing with soapUI

Test automation

soapUI JUnit integration

soapUI command line executions

Maven soapUI plugin

Summary

Miscellaneous Topics

soapUI IDE plugins

WS-I validation using soapUI

soapUI integration with external web services' frameworks

Sending attachments with SOAP messages using soapUI

Summary

Index