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

PPTX
Testing soapui
 
PPTX
Integration with dropbox using mule esb
PPTX
Data weave in Mule
PPTX
mule salesforce
 
PPTX
Create folder in microsoft office 365 share point using mule esb
PPTX
Mulesoft salesforce connector to update Object.
PPT
Dataweavewithflowreflookup
Testing soapui
 
Integration with dropbox using mule esb
Data weave in Mule
mule salesforce
 
Create folder in microsoft office 365 share point using mule esb
Mulesoft salesforce connector to update Object.
Dataweavewithflowreflookup

What's hot (20)

PPTX
Data weave
KEY
SharePoint 2010 Client Object Model
PPT
Microsoft Azure
PPTX
Integration of mule esb with microsoft azure
PPT
Asp.net server controls
PPTX
Integrating SharePoint 2010 and Visual Studio Lightswitch
PPTX
Query Operation in Microsoft SharePoint using Mule ESB
PPTX
Amazone s3 in mule
PPT
Less07 2 e_testermodule_6
PPTX
Automatic documentation with mule
 
PDF
Mean Stack Vs Meteor js
PPT
Mule cloud hub console overview
PPT
Olap
PPT
Less03 2 e_testermodule_2
PPTX
Introduction to the SharePoint Client Object Model and REST API
PPT
New Features Of ASP.Net 4 0
PDF
Using QLIK with AWS & Python
PDF
What is REST API? REST API Concepts and Examples | Edureka
PPT
Mule data weave with flowref lookup
PPTX
SharePoint Client Object Model (CSOM)
Data weave
SharePoint 2010 Client Object Model
Microsoft Azure
Integration of mule esb with microsoft azure
Asp.net server controls
Integrating SharePoint 2010 and Visual Studio Lightswitch
Query Operation in Microsoft SharePoint using Mule ESB
Amazone s3 in mule
Less07 2 e_testermodule_6
Automatic documentation with mule
 
Mean Stack Vs Meteor js
Mule cloud hub console overview
Olap
Less03 2 e_testermodule_2
Introduction to the SharePoint Client Object Model and REST API
New Features Of ASP.Net 4 0
Using QLIK with AWS & Python
What is REST API? REST API Concepts and Examples | Edureka
Mule data weave with flowref lookup
SharePoint Client Object Model (CSOM)
Ad

Viewers also liked (20)

PPTX
Scatter gather in mule
PPT
Mule real world old
PPTX
Webservice with vm in mule
PPTX
Creating dynamic json
PPTX
Presentation
PPTX
Deploying and running in mule standalone
PPT
Mule technology
PPT
Mule esb introduction
PPT
Mule overview
PPTX
Simple groovy example in mule
PPTX
Mule with drools
PPTX
Mule with stored procedure
PPT
Java multithreading
PPTX
Xml to xml transformation in mule
PDF
Nepse Technical Analysis September 6 - September 10, 2015
PPTX
Destin X (1)
PPTX
Presentation1
PPT
TUGAS SLIDE SIM
PDF
Presentazione MORI SAURO ROTTAMI Srl
PPTX
E-Learning Contents Producing Training Program for Trainees from Iran
Scatter gather in mule
Mule real world old
Webservice with vm in mule
Creating dynamic json
Presentation
Deploying and running in mule standalone
Mule technology
Mule esb introduction
Mule overview
Simple groovy example in mule
Mule with drools
Mule with stored procedure
Java multithreading
Xml to xml transformation in mule
Nepse Technical Analysis September 6 - September 10, 2015
Destin X (1)
Presentation1
TUGAS SLIDE SIM
Presentazione MORI SAURO ROTTAMI Srl
E-Learning Contents Producing Training Program for Trainees from Iran
Ad

Similar to WebServices using Soap (20)

PPTX
Testing soapui
PDF
White paper ready api
PPTX
Tools that have made cloud testing easy
PPTX
WebServices Basic Introduction
PPT
Testing soa, web services and application development framework applications
PPTX
Soap UI and postman
PPT
Netserv Software Testing
PPT
Introduction of WebServices
PPTX
Web Services.pptx
PPTX
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
PPT
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
PPT
Introduction to soapui and webservices
DOC
Soap ui documentation
DOCX
markfinleyResumeMarch2016
PPTX
Application integration framework & Adaptor ppt
PDF
How to Create Web App With Simple Step by Step Process
PDF
App Service Web
PPT
Technology Overview
PPTX
web services
Testing soapui
White paper ready api
Tools that have made cloud testing easy
WebServices Basic Introduction
Testing soa, web services and application development framework applications
Soap UI and postman
Netserv Software Testing
Introduction of WebServices
Web Services.pptx
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
Introduction to soapui and webservices
Soap ui documentation
markfinleyResumeMarch2016
Application integration framework & Adaptor ppt
How to Create Web App With Simple Step by Step Process
App Service Web
Technology Overview
web services

Recently uploaded (20)

PDF
TicketRoot: Event Tech Solutions Deck 2025
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PDF
Be ready for tomorrow’s needs with a longer-lasting, higher-performing PC
PDF
Advancements in abstractive text summarization: a deep learning approach
PDF
Domain-specific knowledge and context in large language models: challenges, c...
PDF
The Digital Engine Room: Unlocking APAC’s Economic and Digital Potential thro...
PDF
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PDF
Examining Bias in AI Generated News Content.pdf
PDF
Child-friendly e-learning for artificial intelligence education in Indonesia:...
PDF
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
PDF
Optimizing bioinformatics applications: a novel approach with human protein d...
PDF
Addressing the challenges of harmonizing law and artificial intelligence tech...
PDF
State of AI in Business 2025 - MIT NANDA
PDF
Applying Agentic AI in Enterprise Automation
PPTX
Blending method and technology for hydrogen.pptx
PDF
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
PDF
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
PPTX
Report in SIP_Distance_Learning_Technology_Impact.pptx
PDF
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...
TicketRoot: Event Tech Solutions Deck 2025
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
Be ready for tomorrow’s needs with a longer-lasting, higher-performing PC
Advancements in abstractive text summarization: a deep learning approach
Domain-specific knowledge and context in large language models: challenges, c...
The Digital Engine Room: Unlocking APAC’s Economic and Digital Potential thro...
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
Examining Bias in AI Generated News Content.pdf
Child-friendly e-learning for artificial intelligence education in Indonesia:...
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
Optimizing bioinformatics applications: a novel approach with human protein d...
Addressing the challenges of harmonizing law and artificial intelligence tech...
State of AI in Business 2025 - MIT NANDA
Applying Agentic AI in Enterprise Automation
Blending method and technology for hydrogen.pptx
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
Report in SIP_Distance_Learning_Technology_Impact.pptx
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...

WebServices using Soap

  • 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!