SlideShare a Scribd company logo
How to test WebServices
using SOAP UI
What is a WebService?
• Definition: The term Web services describes a standardized way of integrating Web-based
applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol
backbone. 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.
• Usage:
Amazon Web Services offers a complete set of infrastructure and application services that enable
you to run virtually everything in the cloud: from enterprise applications and big data projects to social
games and mobile apps.
A report from 2012 done by a web analytics firm has revealed that web sites using cloud computing
outfit Amazon Web Services (AWS) are visited daily by a third of all internet users worldwide.
Travel Holdings WebServices
Our web services are mostly oriented to the travelling industry exposing our API in order to:
• Search for products (mainly hotels)
• Get hotel details
• Book reservations
• Manage previous reservations
Internally we are also using where possible as much WS as we can in order to push our solution
development to be more an more service oriented.
Commercially we are called by an average of 2 million searches per hour allowing our clients to book an
average of almost 10000 reservations per day.
What is SoapUI?
http://www.soapui.org/
SoapUI is a free and open source cross-platform Functional Testing solution. With an easy-to-use
graphical interface, and enterprise-class features, SoapUI allows you to easily and rapidly create and
execute automated functional, regression, compliance, and load tests. In a single test environment,
SoapUI provides complete test coverage and supports all the standard protocols and technologies.
There are simply no limits to what you can do with your tests. Meet SoapUI, the world's most complete
testing tool!
What can it do?
• Automated testing solution including: data driven tests, load tests, scenario-based tests
• MockServices feature gives the unique ability to mimic Web services and create/run Functional and
Load Tests against them even before they are implemented.
• Built-in reporting capabilities
SoapUI Test Structure
SoapUI structures functional tests into three levels; TestSuites, TestCases and TestSteps.
1. A TestSuite is a collection of TestCases that can be used for grouping functional tests into logical
units. Any number of TestSuites can be created inside a soapUI project to support massive testing
scenarios.
2. A TestCase is a collection of TestSteps that are assembled to test some specific aspect of your
service(s). You can add any number of TestCases to a containing TestSuite and even modularize
them to call each other for complex testing scenarios.
3. TestSteps are the "building blocks" of functional tests in soapUI. They are added to a TestCase and
used control the flow of execution and validate the functionality of the service(s) to be tested.
SoapUI Test Structure
A test is added by creating a new project and setting the wsdl page of your WS application. For
example we used public WS which provides Country Details:
http://www.webservicex.net/country.asmx?WSDL
SoapUI Test Structure
When adding a new project, all of the WSs
methods will be loaded with sample (empty)
requests already created.
Opening such a request will show you the
editor of the .xml file which is to be sent to the
web server.
SoapUI gives you possibility to see the request
in the editor as xml, raw data, Outline and
Form, making it easier to manually edit the
data you plan to send to the WS server.
The response received is also shown (on the
right side of the tool’s layout) as xml, raw data,
Outline or Form, making it easier to read.
SoapUI Test Structure
Data Driven Tests
http://www.soapui.org/
SoapUI is a free and open source cross-platform Functional Testing solution. With an easy-to-use
graphical interface, and enterprise-class features, SoapUI allows you to easily and rapidly create and
execute automated functional, regression, compliance, and load tests. In a single test environment,
SoapUI provides complete test coverage and supports all the standard protocols and technologies.
There are simply no limits to what you can do with your tests. Meet SoapUI, the world's most complete
testing tool!
What can it do?
• Automated testing solution including: data driven tests, load tests, scenario-based tests
• MockServices feature gives the unique ability to mimic Web services and create/run Functional and
Load Tests against them even before they are implemented.
• Built-in reporting capabilities
Data Driven Example
http://www.webservicex.net/uszip.asmx?WSDL
We used a public WS which we found on the internet. This is returning the details of specific ZIP codes
from United States which is a good opportunity for us to validate if data received from our clients is valid
or not.
Extracting from our DB random ZIP Codes, City Names and State Codes we can validate if City Name
and State Code are matching the ZIP code by using it as a request and assert if the result is correct. All
this test data we added into an Excel file which we used as DataSource for our test.
Data Driven Example
DataSource will require the file location from you and also what are the Test Properties to be used from
the file.
These declared TestProperties are actually the parameters you will use for the requests or for the
assertion.
When adding a new TestRequest you will have the possibility to replace the single parameter from the
request with a Property from the DataSource by right-clicking the field:
Data Driven Example
In the same TestRequest you can add an assertion and choosing Property Content / XPath Match in
order to choose specific element from the response to be validated against specific TestProperty from
the DataSource:
Data Driven Example
In the assertion you will need to replace the hardcoded value with the TestProperty from the
DataSource:
Data Driven Example
Now your test will be ready and will validate request parameters with specific values from the response,
all this according to the .xls DataSource.
Thank You!

More Related Content

What's hot (20)

PPTX
Data weave
Adithya-kuchan
 
PPT
Microsoft Azure
Dima Maleev
 
KEY
SharePoint 2010 Client Object Model
G. Scott Singleton
 
PPTX
Integration of mule esb with microsoft azure
sivachandra mandalapu
 
PPT
Asp.net server controls
Raed Aldahdooh
 
PPTX
Integrating SharePoint 2010 and Visual Studio Lightswitch
Rob Windsor
 
PPTX
Query Operation in Microsoft SharePoint using Mule ESB
Sanjeet Pandey
 
PPTX
Amazone s3 in mule
Ramakrishna kapa
 
PPT
Less07 2 e_testermodule_6
Suresh Mishra
 
PPTX
Automatic documentation with mule
F K
 
PDF
Mean Stack Vs Meteor js
Prem Sanil
 
PPT
Mule cloud hub console overview
D.Rajesh Kumar
 
PPT
Olap
preksha33
 
PPT
Less03 2 e_testermodule_2
Suresh Mishra
 
PPTX
Introduction to the SharePoint Client Object Model and REST API
Rob Windsor
 
PPT
New Features Of ASP.Net 4 0
Dima Maleev
 
PDF
Using QLIK with AWS & Python
Bruce Jenks
 
PDF
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
PPT
Mule data weave with flowref lookup
D.Rajesh Kumar
 
PPTX
SharePoint Client Object Model (CSOM)
Kashif Imran
 
Data weave
Adithya-kuchan
 
Microsoft Azure
Dima Maleev
 
SharePoint 2010 Client Object Model
G. Scott Singleton
 
Integration of mule esb with microsoft azure
sivachandra mandalapu
 
Asp.net server controls
Raed Aldahdooh
 
Integrating SharePoint 2010 and Visual Studio Lightswitch
Rob Windsor
 
Query Operation in Microsoft SharePoint using Mule ESB
Sanjeet Pandey
 
Amazone s3 in mule
Ramakrishna kapa
 
Less07 2 e_testermodule_6
Suresh Mishra
 
Automatic documentation with mule
F K
 
Mean Stack Vs Meteor js
Prem Sanil
 
Mule cloud hub console overview
D.Rajesh Kumar
 
Olap
preksha33
 
Less03 2 e_testermodule_2
Suresh Mishra
 
Introduction to the SharePoint Client Object Model and REST API
Rob Windsor
 
New Features Of ASP.Net 4 0
Dima Maleev
 
Using QLIK with AWS & Python
Bruce Jenks
 
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
Mule data weave with flowref lookup
D.Rajesh Kumar
 
SharePoint Client Object Model (CSOM)
Kashif Imran
 

Viewers also liked (20)

PPT
Java
javeed_mhd
 
PPTX
SOAPUI Test Design & Utilities
Akshay Sharma
 
PPTX
WebServices using Soapui
javeed_mhd
 
PDF
Oracle soa suite 12c - News
Trivadis
 
PDF
Software Evolution: From Legacy Systems, Service Oriented Architecture to Clo...
PET Computação
 
ODP
Webservice performance testing with SoapUI
Phuoc Nguyen
 
PPT
Ppt of soap ui
pkslide28
 
PPT
Introduction to Service Oriented Architecture
DATA Inc.
 
PPTX
Learn SoapUI
David Ionut
 
PDF
Service Oriented Architecture (SOA) [1/5] : Introduction to SOA
IMC Institute
 
PPTX
The Road to Becoming a Center of Excellence
Lisa D'Adamo-Weinstein
 
PPTX
Introduction to SOA
saeed shargi ghazani
 
PDF
Successfully establishing a SOA Center of Excellence
Kelly Emo
 
PDF
Web Services Automated Testing via SoapUI Tool
Sperasoft
 
PDF
The Hunt for Product/Market Fit
Sachin Rekhi
 
PPT
Java Concepts
AbdulImrankhan7
 
PPTX
Idempotent filter with simple file
AbdulImrankhan7
 
PPTX
Filter expression
AbdulImrankhan7
 
PPTX
Caching invalidating with managed store
AbdulImrankhan7
 
PPTX
Automation Testing
AbdulImrankhan7
 
SOAPUI Test Design & Utilities
Akshay Sharma
 
WebServices using Soapui
javeed_mhd
 
Oracle soa suite 12c - News
Trivadis
 
Software Evolution: From Legacy Systems, Service Oriented Architecture to Clo...
PET Computação
 
Webservice performance testing with SoapUI
Phuoc Nguyen
 
Ppt of soap ui
pkslide28
 
Introduction to Service Oriented Architecture
DATA Inc.
 
Learn SoapUI
David Ionut
 
Service Oriented Architecture (SOA) [1/5] : Introduction to SOA
IMC Institute
 
The Road to Becoming a Center of Excellence
Lisa D'Adamo-Weinstein
 
Introduction to SOA
saeed shargi ghazani
 
Successfully establishing a SOA Center of Excellence
Kelly Emo
 
Web Services Automated Testing via SoapUI Tool
Sperasoft
 
The Hunt for Product/Market Fit
Sachin Rekhi
 
Java Concepts
AbdulImrankhan7
 
Idempotent filter with simple file
AbdulImrankhan7
 
Filter expression
AbdulImrankhan7
 
Caching invalidating with managed store
AbdulImrankhan7
 
Automation Testing
AbdulImrankhan7
 
Ad

Similar to SoapUi using WebServices (20)

PPTX
Testing soapui
Shahid Shaik
 
DOC
Soap ui documentation
Follower Test
 
PPTX
Web services testing
rammikn
 
PDF
White paper ready api
Nithin Bijjala
 
PPTX
Web Services and Introduction of SOAPUI
Dinesh Kaushik
 
PPT
Introduction to soapui and webservices
Anil Yadav
 
PPTX
Soap UI - Lesson2
Qualitest
 
PPTX
Introduction to SoapUI day 4-5
Qualitest
 
PPTX
Soap ui p_squickit
Aditi_17
 
PDF
Deep dive into SoapUI
Andrey Oleynik
 
PPTX
SOA Testing
Roopesh Kohad
 
PPTX
API-Testing-SOAPUI-1.pptx
amarnathdeo
 
PDF
API Testing. Streamline your testing process.
Andrey Oleynik
 
PDF
Soap ui and soapui pro course contents
Probal Sil
 
PPTX
Testing API's: Tools & Tips & Tricks (Oh My!)
Ford Prior
 
PPTX
Introduction to SoapUI day 2
Qualitest
 
PPTX
Introduction to SoapUI day 3
Qualitest
 
PPTX
Soap UI and postman
Tushar Agarwal
 
PPTX
Soap UI - Getting started
Qualitest
 
Testing soapui
Shahid Shaik
 
Soap ui documentation
Follower Test
 
Web services testing
rammikn
 
White paper ready api
Nithin Bijjala
 
Web Services and Introduction of SOAPUI
Dinesh Kaushik
 
Introduction to soapui and webservices
Anil Yadav
 
Soap UI - Lesson2
Qualitest
 
Introduction to SoapUI day 4-5
Qualitest
 
Soap ui p_squickit
Aditi_17
 
Deep dive into SoapUI
Andrey Oleynik
 
SOA Testing
Roopesh Kohad
 
API-Testing-SOAPUI-1.pptx
amarnathdeo
 
API Testing. Streamline your testing process.
Andrey Oleynik
 
Soap ui and soapui pro course contents
Probal Sil
 
Testing API's: Tools & Tips & Tricks (Oh My!)
Ford Prior
 
Introduction to SoapUI day 2
Qualitest
 
Introduction to SoapUI day 3
Qualitest
 
Soap UI and postman
Tushar Agarwal
 
Soap UI - Getting started
Qualitest
 
Ad

More from AbdulImrankhan7 (20)

PPT
Web services Overview in depth
AbdulImrankhan7
 
PPTX
Install sonarqube plugin
AbdulImrankhan7
 
PPTX
Junit in mule
AbdulImrankhan7
 
PPTX
commit a project in svn
AbdulImrankhan7
 
PPTX
Github plugin setup in anypoint studio
AbdulImrankhan7
 
PPTX
For each component
AbdulImrankhan7
 
PPTX
Mule File component
AbdulImrankhan7
 
PPTX
Mule Database component
AbdulImrankhan7
 
PPTX
Mule Choice component
AbdulImrankhan7
 
PPTX
Mule stored procedure
AbdulImrankhan7
 
PPTX
Deploying and running in mule standalone
AbdulImrankhan7
 
PPT
Mule real-world
AbdulImrankhan7
 
PPT
Mule Overview
AbdulImrankhan7
 
PPTX
Webservice with vm in mule
AbdulImrankhan7
 
PPTX
Validating a soap request in mule
AbdulImrankhan7
 
PPTX
Using xslt in mule
AbdulImrankhan7
 
PPTX
Simple groovy example in mule
AbdulImrankhan7
 
PPTX
Scatter gather flow control
AbdulImrankhan7
 
PPTX
Mule with velocity
AbdulImrankhan7
 
PPTX
Mule with rabbit mq
AbdulImrankhan7
 
Web services Overview in depth
AbdulImrankhan7
 
Install sonarqube plugin
AbdulImrankhan7
 
Junit in mule
AbdulImrankhan7
 
commit a project in svn
AbdulImrankhan7
 
Github plugin setup in anypoint studio
AbdulImrankhan7
 
For each component
AbdulImrankhan7
 
Mule File component
AbdulImrankhan7
 
Mule Database component
AbdulImrankhan7
 
Mule Choice component
AbdulImrankhan7
 
Mule stored procedure
AbdulImrankhan7
 
Deploying and running in mule standalone
AbdulImrankhan7
 
Mule real-world
AbdulImrankhan7
 
Mule Overview
AbdulImrankhan7
 
Webservice with vm in mule
AbdulImrankhan7
 
Validating a soap request in mule
AbdulImrankhan7
 
Using xslt in mule
AbdulImrankhan7
 
Simple groovy example in mule
AbdulImrankhan7
 
Scatter gather flow control
AbdulImrankhan7
 
Mule with velocity
AbdulImrankhan7
 
Mule with rabbit mq
AbdulImrankhan7
 

Recently uploaded (20)

DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 

SoapUi using WebServices

  • 1. How to test WebServices using SOAP UI
  • 2. What is a WebService? • Definition: The term Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. 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. • Usage: Amazon Web Services offers a complete set of infrastructure and application services that enable you to run virtually everything in the cloud: from enterprise applications and big data projects to social games and mobile apps. A report from 2012 done by a web analytics firm has revealed that web sites using cloud computing outfit Amazon Web Services (AWS) are visited daily by a third of all internet users worldwide.
  • 3. Travel Holdings WebServices Our web services are mostly oriented to the travelling industry exposing our API in order to: • Search for products (mainly hotels) • Get hotel details • Book reservations • Manage previous reservations Internally we are also using where possible as much WS as we can in order to push our solution development to be more an more service oriented. Commercially we are called by an average of 2 million searches per hour allowing our clients to book an average of almost 10000 reservations per day.
  • 4. What is SoapUI? http://www.soapui.org/ SoapUI is a free and open source cross-platform Functional Testing solution. With an easy-to-use graphical interface, and enterprise-class features, SoapUI allows you to easily and rapidly create and execute automated functional, regression, compliance, and load tests. In a single test environment, SoapUI provides complete test coverage and supports all the standard protocols and technologies. There are simply no limits to what you can do with your tests. Meet SoapUI, the world's most complete testing tool! What can it do? • Automated testing solution including: data driven tests, load tests, scenario-based tests • MockServices feature gives the unique ability to mimic Web services and create/run Functional and Load Tests against them even before they are implemented. • Built-in reporting capabilities
  • 5. SoapUI Test Structure SoapUI structures functional tests into three levels; TestSuites, TestCases and TestSteps. 1. A TestSuite is a collection of TestCases that can be used for grouping functional tests into logical units. Any number of TestSuites can be created inside a soapUI project to support massive testing scenarios. 2. A TestCase is a collection of TestSteps that are assembled to test some specific aspect of your service(s). You can add any number of TestCases to a containing TestSuite and even modularize them to call each other for complex testing scenarios. 3. TestSteps are the "building blocks" of functional tests in soapUI. They are added to a TestCase and used control the flow of execution and validate the functionality of the service(s) to be tested.
  • 6. SoapUI Test Structure A test is added by creating a new project and setting the wsdl page of your WS application. For example we used public WS which provides Country Details: http://www.webservicex.net/country.asmx?WSDL
  • 7. SoapUI Test Structure When adding a new project, all of the WSs methods will be loaded with sample (empty) requests already created. Opening such a request will show you the editor of the .xml file which is to be sent to the web server. SoapUI gives you possibility to see the request in the editor as xml, raw data, Outline and Form, making it easier to manually edit the data you plan to send to the WS server. The response received is also shown (on the right side of the tool’s layout) as xml, raw data, Outline or Form, making it easier to read.
  • 9. Data Driven Tests http://www.soapui.org/ SoapUI is a free and open source cross-platform Functional Testing solution. With an easy-to-use graphical interface, and enterprise-class features, SoapUI allows you to easily and rapidly create and execute automated functional, regression, compliance, and load tests. In a single test environment, SoapUI provides complete test coverage and supports all the standard protocols and technologies. There are simply no limits to what you can do with your tests. Meet SoapUI, the world's most complete testing tool! What can it do? • Automated testing solution including: data driven tests, load tests, scenario-based tests • MockServices feature gives the unique ability to mimic Web services and create/run Functional and Load Tests against them even before they are implemented. • Built-in reporting capabilities
  • 10. Data Driven Example http://www.webservicex.net/uszip.asmx?WSDL We used a public WS which we found on the internet. This is returning the details of specific ZIP codes from United States which is a good opportunity for us to validate if data received from our clients is valid or not. Extracting from our DB random ZIP Codes, City Names and State Codes we can validate if City Name and State Code are matching the ZIP code by using it as a request and assert if the result is correct. All this test data we added into an Excel file which we used as DataSource for our test.
  • 11. Data Driven Example DataSource will require the file location from you and also what are the Test Properties to be used from the file. These declared TestProperties are actually the parameters you will use for the requests or for the assertion. When adding a new TestRequest you will have the possibility to replace the single parameter from the request with a Property from the DataSource by right-clicking the field:
  • 12. Data Driven Example In the same TestRequest you can add an assertion and choosing Property Content / XPath Match in order to choose specific element from the response to be validated against specific TestProperty from the DataSource:
  • 13. Data Driven Example In the assertion you will need to replace the hardcoded value with the TestProperty from the DataSource:
  • 14. Data Driven Example Now your test will be ready and will validate request parameters with specific values from the response, all this according to the .xls DataSource. Thank You!