INTRO TO SOA Testing & SOAP UI
MANOJ MATHPAL | SOFTWARE CONSULTANT
Knoldus Software LLP
 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
Service Oriented Architecture (SOA)?
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
Find Publish
Interact
• Service
Directory
• Service
Provider
(Service)
• Service
Consumer
(Client)
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
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
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
Tools for SOA Testing
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.
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
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
Demo
Thank You

Soa testing soap ui

  • 1.
    INTRO TO SOATesting & SOAP UI MANOJ MATHPAL | SOFTWARE CONSULTANT Knoldus Software LLP
  • 2.
     What isSOA  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)? 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 Find Publish Interact • Service Directory • Service Provider (Service) • Service Consumer (Client)
  • 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
  • 5.
    Web Services Types 5 WebServices 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.
  • 8.
    What is SOAPUI 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 ProFeatures 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 TestingFramework 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
  • 11.
  • 12.

Editor's Notes

  • #2 <number> <number>
  • #3 <number>
  • #4 <number>
  • #5 <number> <number> GOOGLE APPS 1600 WAS ONLY FOR DESIGNERS Ng2.0 is not stable now
  • #6 <number> <number> GOOGLE APPS 1600 WAS ONLY FOR DESIGNERS Ng2.0 is not stable now
  • #7 <number> <number>
  • #8 <number>
  • #9 <number> <number> GOOGLE APPS 1600 WAS ONLY FOR DESIGNERS Ng2.0 is not stable now
  • #10 <number> <number> GOOGLE APPS 1600 WAS ONLY FOR DESIGNERS Ng2.0 is not stable now
  • #11 <number> <number>
  • #12 <number>
  • #13 <number> <number>