8/8/2019 Tdbank Soa Test
1/16
2009 IBM Corporation
by
Bikram K Panda
8/8/2019 Tdbank Soa Test
2/16
2009 IBM Corporation2
Web Services:-
What is SOA
SOA Approach
Web Service
WS Providers and Protocols
SOA Testing
Web Service Testing
JMS Testing
MQ Testing
Tool Recommendations for SOA Test
Q&A
Testing Competency Solution Center
8/8/2019 Tdbank Soa Test
3/16
2009 IBM Corporation3
What is SOA:-
Testing Competency Solution Center
SOAstands for
Service Oriented Architecture Service-orientation is a design paradigm comprised of a specific setof design principles.The fundamental unit of service-oriented solution logic is theservice.
Service can be
A repeatable Business Task- e.g Opening a New Account, Check Customer Credit etc etc.
A Code that performs specific business task.
A set of consistent data definitions- e.g Classification of tables, Quoting Formulas, Pricing Charts.
Service-A
Service-A
Capability A
Capability B
8/8/2019 Tdbank Soa Test
4/16
2009 IBM Corporation4
Testing Competency Solution Center
SOA is like yourwardrobe
Think of each article ofclothing in your
wardrobe as a business
service
Flexibly and
easily assemble
outfits from the
wardrobe.
Save money by
creating new outfits
with your existing
clothes.
Make those basics
work better just
by adding a great
sweater.
SOA helps your
business become
more stylish
more innovative.
What is SOA Cont:-
SOA is like your wardrobe
8/8/2019 Tdbank Soa Test
5/16
2009 IBM Corporation5
What is SOA Cont:-
Testing Competency Solution Center
SOA also generally provides a way for consumers of services, such as web-based
applications, to be aware of available SOA-based services. For example, several
disparate departments within a company may develop and deploy SOA services in
different implementation languages; their respective clients will benefit from a well
understood, well defined interface to access them. XML is commonly used for
interfacing with SOA services, though this is not required.
SOA defines how to integrate widely disparate applications for a world that is Web
based and uses multiple implementation platforms. Rather than defining an API,
SOA defines the interface in terms of protocols and functionality. An endpointis the
entry point for such an SOA implementation.
http://en.wikipedia.org/wiki/Client_(computing)http://en.wikipedia.org/wiki/XMLhttp://en.wikipedia.org/wiki/APIhttp://en.wikipedia.org/wiki/APIhttp://en.wikipedia.org/wiki/XMLhttp://en.wikipedia.org/wiki/Client_(computing)8/8/2019 Tdbank Soa Test
6/16
2009 IBM Corporation6
SOA Approach :-
The best Approach of implementing SOA is by using Web services.
Web Services make functional building-blocks accessible over standard Internet protocols
independent of platforms and programming languages. These services can represent either new
applications or just wrappers around existing legacy systems to make them network-enabled.
Each SOA building block can play one or both of two roles:
1. Service Provider - The service provider is the creator a web service. Each provider must decide which
services to expose.
2. Service consumer - The service consumer or web service client is the Consumer of the Web Services.
Each Consumer decides where to Send the Request as a Service.
Testing Competency Solution Center
8/8/2019 Tdbank Soa Test
7/16 2009 IBM Corporation7
Web Services:-
Ws is a software system designed to support interoperable machine-to-machine
Software that runs over a network and provides information services based on XML standards that are
accessed through a URI
WS a software component that supports machine-to-machine transactions over a network, in
particular, over the Internet.
The term Web services describes a standardized way of integrating Web-basedapplications using theXML, SOAP, WSDL and UDDIopenstandards over an Internetprotocolbackbone. XML is used to
tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and
UDDI is used for listing what services are available. Used primarily as a means for businesses to
communicate with each other and with clients, Web services allow organizations to communicate data
without intimate knowledge of each other's IT systems behind the firewall.
Testing Competency Solution Center
http://www.webopedia.com/TERM/W/application.htmlhttp://www.webopedia.com/TERM/W/application.htmlhttp://www.webopedia.com/TERM/W/XML.htmlhttp://www.webopedia.com/TERM/W/SOAP.htmlhttp://www.webopedia.com/TERM/W/WSDL.htmlhttp://www.webopedia.com/TERM/W/UDDI.htmlhttp://www.webopedia.com/TERM/W/open.htmlhttp://www.webopedia.com/TERM/W/standard.htmlhttp://www.webopedia.com/TERM/W/protocol.htmlhttp://www.webopedia.com/TERM/W/backbone.htmlhttp://www.webopedia.com/TERM/W/tag.htmlhttp://soatest.parasoft.com/store-01.wsdlhttp://www.webopedia.com/TERM/W/firewall.htmlhttp://www.webopedia.com/TERM/W/firewall.htmlhttp://soatest.parasoft.com/store-01.wsdlhttp://www.webopedia.com/TERM/W/tag.htmlhttp://www.webopedia.com/TERM/W/backbone.htmlhttp://www.webopedia.com/TERM/W/protocol.htmlhttp://www.webopedia.com/TERM/W/standard.htmlhttp://www.webopedia.com/TERM/W/open.htmlhttp://www.webopedia.com/TERM/W/UDDI.htmlhttp://www.webopedia.com/TERM/W/WSDL.htmlhttp://www.webopedia.com/TERM/W/SOAP.htmlhttp://www.webopedia.com/TERM/W/XML.htmlhttp://www.webopedia.com/TERM/W/application.htmlhttp://www.webopedia.com/TERM/W/application.html8/8/2019 Tdbank Soa Test
8/16 2009 IBM Corporation8
WS Providers and Protocols:-
Web Services can be designed using the below Providers:- HTTP / HTTPS Hypertext Transfer Protocol
JMS :- Java Messaging Services
MQ :- Messaging Queue
Web Services can be Communicated through the below Communication Protocols
SOAP :- Hypertext Transfer Protocol
REST :- Representational State Transfer
JSON :- JavaScript Object Notation
Most Commonly used Services are
SOAP/HTTP SOAP/JMS MQ Series
Testing Competency Solution Center
8/8/2019 Tdbank Soa Test
9/16 2009 IBM Corporation9
SOA Testing:-
SOA Testing involves Testing of the Web Services
During SOA Testing we need to test the Web Services designed by implementing various Providers like
HTTP, JMS and MQ on various Communication Protocols like SOAP, REST or JSON
During SOA Testing we need to test the below commonly used services
SOA Testing requires lots of Planning and Analysis on the Web Services and Tools.
SOAP/HTTP SOAP/JMS MQ Series
The Below are the Deliverables from Dev team to Test Team for Testing WS
1. Web Services (Normally Its SOAP/HTTP)WSDL file or an End Point URI
2. SOAP/JMS XSD File and the Queue Details
3. MQ :- XSD File and the Queue Details like Queque Manager, Connection Factory details
Testing Competency Solution Center
8/8/2019 Tdbank Soa Test
10/16 2009 IBM Corporation10
Web Service Testing:-
The Pre-requisite for Web Service Testing is End Point URI or an End Point URI (E.g
http://soatest.parasoft.com/store-01.wsdl) In the Web Services we normally use to test the WS-Operations.
Open any WSDL File or Click on the End Point URI it will open the WSDL File for You
Search for the Key Word Operation inside the WSDL file.
List out all the Operations involved inside the WSDL
Web Services Understand the XML Format.
The Request will be in XML Message
The Response will be in XML Message
In the SOA Test Tool when you Invoke the End Point Uri it displayes the list of Operations
and Creates a Test Suite for you Select the Test Suit You want to Test and Click on the Request.
It displays the List of Variables.
Set up your Test plan and click on Test Button.
A response XML will be generated which is the Out Put. Validate the Out Put XML File.
Testing Competency Solution Center
http://soatest.parasoft.com/store-01.wsdlhttp://soatest.parasoft.com/store-01.wsdl8/8/2019 Tdbank Soa Test
11/16 2009 IBM Corporation11
SOAP/HTTP Testing:-The Pre-requisite for SOAP/HTTP Testing is either a WSDL file or an End Point URI. The SOAP/HTTP Request runs on a Port .
Testing Competency Solution Center
ServiceConsu
mer
ServiceProvider
SOAP/HTTP Request
HTTP-Port SOAP/HTTP Response
8/8/2019 Tdbank Soa Test
12/16
2009 IBM Corporation12
SOAP/JMS Testing:-The Pre-requisite for SOAP/JMS Testing is XSD File, JMS Queue Names and the Corresponding JNDI Names
Testing Competency Solution Center
ServiceConsu
mer
ServiceProvider
Q1Q3
Q2 Q4
SOAP/JMS Request
SOAP/JMS Response
8/8/2019 Tdbank Soa Test
13/16
2009 IBM Corporation13
MQ Testing:-The Pre-requisite for MQ Testing is XSD File, MQ Queue Names and the Corresponding Queue Managers.
Testing Competency Solution Center
ServiceConsu
mer
ServiceProvider
Me
ssagingQueue(M
QLayer)
MQ Request MQ Request
MQ Response MQ Response
8/8/2019 Tdbank Soa Test
14/16
2009 IBM Corporation14
Tool Recommendations for SOA Test:-
There are Various SOA Test Tools Available in the IT Market. Each Tool has its own merits and
de-merits.
IBM Rational SOA Test
HP-Parasoft SOA Test.
SOAP-UI
SOAP-Sonar
ITKO-Lisa
Testing Competency Solution Center
8/8/2019 Tdbank Soa Test
15/16
2009 IBM Corporation15
Testing Competency Solution Center
Q & A:-
8/8/2019 Tdbank Soa Test
16/16
2009 IBM Corporation16
Testing Competency Solution Center