SlideShare a Scribd company logo
Web Servives Testing with
SoapUI Tool
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
Learn SoapUI
PPTX
Web Services and Introduction of SOAPUI
PPT
Web Applications and Deployment
PPTX
Performance Testing
PPTX
New relic
PPTX
API Testing for everyone.pptx
Learn SoapUI
Web Services and Introduction of SOAPUI
Web Applications and Deployment
Performance Testing
New relic
API Testing for everyone.pptx

What's hot (20)

PDF
API_Testing_with_Postman
PPT
Ppt of soap ui
PDF
How to Automate API Testing
PPTX
API Testing with Frisby and Mocha
PPSX
API Test Automation
PPTX
software testing methodologies
PDF
Web Services Automated Testing via SoapUI Tool
PPT
Performance testing jmeter
PPT
Test Automation Best Practices (with SOA test approach)
PDF
An Introduction To Automated API Testing
PPTX
Web Application Testing
PPT
Soa testing soap ui (2)
PPT
Performance Testing
PPT
Performance testing with Jmeter
PPTX
Api testing
ODP
API Testing With Katalon Studio
PDF
Performance testing presentation
PDF
Performance testing with JMeter
PPTX
PDF
API Testing: The heart of functional testing" with Bj Rollison
API_Testing_with_Postman
Ppt of soap ui
How to Automate API Testing
API Testing with Frisby and Mocha
API Test Automation
software testing methodologies
Web Services Automated Testing via SoapUI Tool
Performance testing jmeter
Test Automation Best Practices (with SOA test approach)
An Introduction To Automated API Testing
Web Application Testing
Soa testing soap ui (2)
Performance Testing
Performance testing with Jmeter
Api testing
API Testing With Katalon Studio
Performance testing presentation
Performance testing with JMeter
API Testing: The heart of functional testing" with Bj Rollison
Ad

Viewers also liked (11)

PPTX
Getting Started with API Security Testing
PPTX
Testing Agile Web Services from soapUI
PPTX
REST API testing with SpecFlow
PPT
SOAP-UI The Web service Testing
PPTX
An introduction to api testing | David Tzemach
PPT
Presentation for soap ui
PDF
Automate REST API Testing
PPTX
Api testing
PDF
4 Major Advantages of API Testing
PDF
API Testing
PPTX
Testing web services
Getting Started with API Security Testing
Testing Agile Web Services from soapUI
REST API testing with SpecFlow
SOAP-UI The Web service Testing
An introduction to api testing | David Tzemach
Presentation for soap ui
Automate REST API Testing
Api testing
4 Major Advantages of API Testing
API Testing
Testing web services
Ad

Similar to Testing soapui (20)

PPTX
SoapUi using WebServices
PPTX
WebServices using Soapui
PPTX
WebServices using Soap
PDF
White paper ready api
PPTX
Tools that have made cloud testing easy
PPT
Testing soa, web services and application development framework applications
PPT
Netserv Software Testing
PPTX
WebServices Basic Introduction
PPTX
Soap UI and postman
PPT
Introduction of WebServices
DOC
Soap ui documentation
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
DOCX
markfinleyResumeMarch2016
PPTX
Web Services.pptx
PPTX
Unit 5.pptx
PDF
App Service Web
DOCX
Final Report To Executive ManagersXXXXXCCA 625Un
SoapUi using WebServices
WebServices using Soapui
WebServices using Soap
White paper ready api
Tools that have made cloud testing easy
Testing soa, web services and application development framework applications
Netserv Software Testing
WebServices Basic Introduction
Soap UI and postman
Introduction of WebServices
Soap ui documentation
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
markfinleyResumeMarch2016
Web Services.pptx
Unit 5.pptx
App Service Web
Final Report To Executive ManagersXXXXXCCA 625Un

More from Shahid Shaik (14)

PPTX
Jenkins2
PPTX
Jenkins
PPTX
Webservice vm in mule
PPTX
Mule Webservices
PPT
SOAP, WSDL and UDDI
PPT
Mule webservices in detail
PPTX
Java useful in Mule
PPT
Maven introduction in Mule
PPTX
WSDL Services
PPTX
UDDI Services
PPTX
SOAP Services
PPTX
Web service vm in mule
PPTX
Xslt in mule
PPTX
Java in Mule
Jenkins2
Jenkins
Webservice vm in mule
Mule Webservices
SOAP, WSDL and UDDI
Mule webservices in detail
Java useful in Mule
Maven introduction in Mule
WSDL Services
UDDI Services
SOAP Services
Web service vm in mule
Xslt in mule
Java in Mule

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Modernizing your data center with Dell and AMD
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Machine learning based COVID-19 study performance prediction
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
Teaching material agriculture food technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
KodekX | Application Modernization Development
Review of recent advances in non-invasive hemoglobin estimation
GamePlan Trading System Review: Professional Trader's Honest Take
Modernizing your data center with Dell and AMD
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Per capita expenditure prediction using model stacking based on satellite ima...
Advanced methodologies resolving dimensionality complications for autism neur...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Machine learning based COVID-19 study performance prediction
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Teaching material agriculture food technology
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....

Testing soapui

  • 1. Web Servives Testing with SoapUI Tool
  • 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!