Description- SOAtest is a testing and analysis tool suite for testing and validating APIs and API-driven applications (e.g., cloud, mobile apps, SOA).[1] Basic testing functionality include functional security testing, simulation and mocking, runtime error detection, web services testing, interoperability testing, WS-* compliance testing, and load testing
1. INTRO TO SOA Testing & SOAP UI
MANOJ MATHPAL | SOFTWARE CONSULTANT
Knoldus Software LLP
2. What is SOA
Why SOA Testing
Web Services Types
SOAP Vs REST
Tools for SOA Testing
What is SOAP UI Pro
SOAP UI Pro features
SOAP UI Testing Framework
Demo
AGENDA
3. Service Oriented Architecture (SOA)?
3
SOA is not a product or technology. Architectural approach to creating systems
built from autonomous services based on service oriented principles
Service Oriented Principles
✓ Standardized service contracts
✓ Loose coupling
✓ Service abstraction
✓ Service reusability
✓ Service autonomy
✓ Platform independent
4. Why SOA Testing
4
Component level testing
Early defect identification
Early to market
Maximise ROI in testing
Quality excellence and Test efficiency
Increase test coverage
Maximize ROI in testing
5. Web Services Types
5
Web Services can be implemented in different ways, and the following two are the
popular implementations approaches.
SOAP
SOAP is a standard protocol defined by the W3C Standard for sending and
receiving web service requests and responses. SOAP uses the XML format to send
and receive the request and hence the data is platform independent data. SOAP
messages are exchanged between the provider applications and receiving
application within the SOAP envelops.
REST
REST means Representational State Transfer, it is an architecture that generally
runs over HTTP. REST is an alternative to SOAP (Simple Object Access Protocol)
and instead of using XML for request REST uses simple URL in some cases. Unlike
SOAP, RESTFUL applications uses HTTP build in headers to carry meta-
information. Rest API supports both XML and JSON format. It is usually preferred
for mobile and web apps as it makes app work faster and smoother
6. SOAP Vs REST
REST stands for Representational State
Transfer
No WS-Standards are available
Support is available for XML, JSON
REST is light weighted and sends only
actual message that needs to exchange
REST is stateless
SOAP stands for Simple Object Access
Protocol
WS-Standards are available for security,
transaction management etc.
Support only XML
SOAP has overhead of sending soap
envelope, header along with actual soap
message
7. Tools for SOA Testing
Company Tool Description
ITKO (CA) LISA One of the early vendors of specialized testing and
automation tool for SOA. First vendor to launch
virtualization capability as a standalone tool
Parasoft SOA Test One of the early starters in SOA test automation space.
It has Application lifecycle Management (ALM),
virtualization etc. Good overall support for product
GreenHat GH Tester
HP Service Test Maturing rapidly in-terms of features and maturity and
is in a position to challenge niche vendors. Seamless
integration with HP toolset for GUI automation is a key
strength and differentiator
Open
Source/Licensed
SOAP
UI/SOAP UI
Pro
Available in both open source and licensed version.
Has capability of load testing along with functional
automation
8. What is SOAP UI Pro
8
A open source/licensed Functional Testing solution from SmartBear. With an
user friendly interface SOAP UI provides capability of creating and executing of
automated functional test and regression suite. On successful test execution tool
provides execution report in multiple formats. SOAP UI has also extended its
capability to do Load testing, security testing and compliance testing.
SOAP UI Pro Test Structure
SOAP UI structures functional test into three levels; Test Suites, Test Cases and
Test Steps
Test suite is a collection of test case grouped logically together. Multiple test suite
can be created inside SOAP UI project. For e.g. different test suites can be created
for positive and negative scenario
Test case is a collection of Test Steps grouped together to build complete
framework
Test steps are building blocks of test cases. For e.g. SOAP Request, Datasource,
Datasink, DataSourceLoop, Assertions, Groovy etc.
9. SOAP UI Pro Features
9
✓ Test data driven testing approach
✓ Load Testing
✓ Mock creation to mimic the web service response
✓ Support of SOAP, Rest, JMS, MQ etc.
✓ Service autonomy
✓ Integration capabilities with other softwares
✓ SOAP UI inbuilt framework capability
Security Testing
10. SOAP UI Testing Framework
REST/SOAP
Service
MQ
Service
Provider
Testers
Driver
data
Test data
Requests Framework
SoapUI
Hermes JMS
DB
SOAP/REST Request
SOAP/REST Response
JDBC Request
Query Results
Reports
Automated e-
mail
SUT
JMS
Test Data Source
Configuration