Date post: | 06-Apr-2018 |
Category: |
Documents |
Upload: | gurindarjitbajwa |
View: | 215 times |
Download: | 0 times |
of 15
8/3/2019 SOA and SSP Presentation
1/15
SOABy : Gurindarjit Bajwa
8/3/2019 SOA and SSP Presentation
2/15
What is SOA?
Service-Oriented Architecture (SOA)
What does it Mean at the most Basic Level
SOA means taking multiple software or business processes
that reside on the same network and designing a plan to
make them work together as simply as possible.
8/3/2019 SOA and SSP Presentation
3/15
Where and How?
Easiest Example is Online Banking User Authentication A Process
Accessing your Bank Records A process
Transferring money or paying Bills A process
A service-oriented architecture plan is
designed to tie all these processes together
and present them to the user in a way thatappears seamless and simple
8/3/2019 SOA and SSP Presentation
4/15
Pre -SOA Scenario
8/3/2019 SOA and SSP Presentation
5/15
SOA Scenario
8/3/2019 SOA and SSP Presentation
6/15
SOAP UI
SoapUI is an open source web service testing tool for
service-oriented architectures (SOA). Its functionality
covers web service inspection, invoking, development,simulation and mocking, functional testing, load and
compliance testing.
8/3/2019 SOA and SSP Presentation
7/15
Advantages of SOA
1. Reusability:Existing business functionality in an application can bereused to meet new business requirements.
2. Increased Agility : Adaptable to Changing Business Needs. Easy
upgrades and merges
3. Faster Delivery :Reuse existing Code , minimize New Development.
4. Cost Efficiency : Above Factors results in Cost reductionconsiderably.
8/3/2019 SOA and SSP Presentation
8/15
Create Project
1. Click to start
soapUI
2. Now lets create aWSDL project. Go
to the menu bar
and click File ->New SoapUI
project.
8/3/2019 SOA and SSP Presentation
9/15
Create Project
1. Enter the Project
Name
2. Enter the WSDL
URL
8/3/2019 SOA and SSP Presentation
10/15
8/3/2019 SOA and SSP Presentation
11/15
Creating Test Suite
and Test Case
1.Right Click on a
Particularoperation ,click
Add to Test
Case
8/3/2019 SOA and SSP Presentation
12/15
Creating Test Case and
Test Suite
1.Enter Test Suite
Name
2. Another
Window will popup Enter Test
Case Name.
3.Herirarchy will be
established andSoap request of
the operation
will be present.
8/3/2019 SOA and SSP Presentation
13/15
Test Case Request
8/3/2019 SOA and SSP Presentation
14/15
Request and Response
Assertions
8/3/2019 SOA and SSP Presentation
15/15
AssertionsAssertion in soapUI would help testers to affirm/confirm the correctnessof test results/response
Type Details
Schema Compliance validates the response message against the definition in the WSDL and contained XML Schema
SOAP Responsechecks that the response is a valid SOAP message, always use this to make sure you are actually
getting a response (if no assertions are added a connection error will not cause a failure).
SOAP Fault checks that the response is a SOAP Fault (for negative testing)
Not SOAP Faultchecks that the response is not a SOAP Fault. Never use this assertion type together with SOAP
Fault, since they will have opposite results always [i.e., compliment of each other]
Containsvalidates the response message contains a particular string or regular expression provided in
'Contains' assert condition.
Script Assertionvalidates the response message against data returned by the code of lines written in Groovy
script. Useful to verify the response data against the Database which can fetched using Groovy
script