SlideShare a Scribd company logo
1 of 21
Web Services Testing
Dr. Pallawi Bulakh
Contents
 7.1 Service Oriented Architecture (SOA), who uses SOA
 7.2 Web Services, Why Web Services are Being Used? What is WSDL? , Web Service
Standards, tools to test
 7.3 Web services, how to test web services, why to test web services
 7.4 Understanding WSDL, how is it used, specifications, document, and file, Retrieving
and Viewing/ Inspecting WSDL file
 7.5 SOAP, SoapUI tool, download and installation RESTFul Service
Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)
 A Service-Oriented Architecture or SOA is a design pattern which is designed to
build distributed systems that deliver services to other applications through the
protocol.
 It is only a concept and not limited to any programming language or platform
What is Service?
 A service is a clear, independent function that describes a piece of functionality.
 A service can swap data and knowledge from different services. It is not reliant
on the nature of another service.
 It applies a loosely coupled, message-based information design to interact with
applications and additional services.
Service Connections
 Service consumer sends a service
request to the service provider, and
the service provider sends the
service response to the service
consumer.
 The service connection is
understandable to both the service
consumer and service provider.
Architecture of SOA
 Services - The services are the logical
entities defined by one or more published
interfaces.
 Service provider - It is a software entity
that implements a service specification.
 Service consumer - It can be called as
a requestor or client that calls a service
provider. A service consumer can be
another service or an end-user
application.
 Service locator - It is a service provider
that acts as a registry. It is responsible
for examining service provider interfaces
and service locations.
 Service broker - It is a service provider
that pass service requests to one or
more additional service providers.
SOA has the following advantages:
 Easy to integrate - In a service-oriented architecture, the
integration is a service specification that provides
implementation transparency.
 Manage Complexity - Due to service specification, the
complexities get isolated, and integration becomes more
manageable.
 Platform Independence - The services are platform-
independent as they can communicate with other
applications through a common language.
 Loose coupling - It facilitates to implement services without
impacting other applications or services.
 Parallel Development - As SOA follows layer-based
architecture, it provides parallel development.
 Available - The SOA services are easily available to any
requester.
 Reliable - As services are small in size, it is easier to test
and debug them.
Web services
What is Web Service
 It is a client-server application or application component for communication.
 The method of communication between two devices over the network.
 It is a software system for the interoperable machine to machine
communication.
 It is a collection of standards or protocols for exchanging information between
two devices or application.
Types of Web Services
Web Service Components
 There are three major web service components.
1. SOAP
2. WSDL
3. UDDI
SOAP
 SOAP is an acronym for Simple Object Access Protocol.
 SOAP is a XML-based protocol for accessing web services.
 SOAP is a W3C recommendation for communication between applications.
 SOAP is XML based, so it is platform independent and language independent.
In other words, it can be used with Java, .Net or PHP language on any platform.

WSDL
 WSDL is an acronym for Web Services Description Language.
 WSDL is a xml document containing information about web services such as
method name, method parameter and how to access it.
 WSDL is a part of UDDI. It acts as a interface between web service
applications.
 WSDL is pronounced as wiz-dull
UDDI
 UDDI is a XML based framework for describing, discovering and integrating
web services.
 UDDI is a directory of web service interfaces described by WSDL, containing
information about web services
WSDL
 WSDL Documents
 An WSDL document describes a web service. It specifies the location
of the service, and the methods of the service, using these major
elements:
Element Description
<types> Defines the (XML Schema) data types used by the web
service
<message> Defines the data elements for each operation
<portType> Describes the operations that can be performed and the
messages involved.
<binding> Defines the protocol and data format for each port type
The main structure of a WSDL
document looks like this:
 <definitions>
<types>
data type definitions........
</types>
<message>
definition of the data being communicated....
</message>
<portType>
set of operations......
</portType>
<binding>
protocol and data format specification....
</binding>
</definitions>
WSDL Example
 <message name="getTermRequest">
<part name="term" type="xs:string"/>
</message>
<message name="getTermResponse">
<part name="value" type="xs:string"/>
</message>
<portType name="glossaryTerms">
<operation name="getTerm">
<input message="getTermRequest"/>
<output message="getTermResponse"/>
</operation>
</portType>
 In this example the <portType> element defines "glossaryTerms" as
the name of a port, and "getTerm" as the name of an operation.
 The "getTerm" operation has an input message called
"getTermRequest" and an output message called
"getTermResponse".
 The <message> elements define the parts of each message and
the associated data types.

Unit 6 SDET Web Services Testing.pptx
Unit 6 SDET Web Services Testing.pptx

More Related Content

What's hot

Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
Oana Feidi
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
Keytorc Software Testing Services
 

What's hot (20)

Software Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSoftware Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s Guide
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
Automated vs manual testing
Automated vs manual testingAutomated vs manual testing
Automated vs manual testing
 
functional testing
functional testing functional testing
functional testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Selenium webdriver interview questions and answers
Selenium webdriver interview questions and answersSelenium webdriver interview questions and answers
Selenium webdriver interview questions and answers
 
STLC
STLCSTLC
STLC
 
Software Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief OverviewSoftware Testing: History, Trends, Perspectives - a Brief Overview
Software Testing: History, Trends, Perspectives - a Brief Overview
 
Manual Testing Interview Questions | Edureka
Manual Testing Interview Questions | EdurekaManual Testing Interview Questions | Edureka
Manual Testing Interview Questions | Edureka
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
UIAutomator
UIAutomatorUIAutomator
UIAutomator
 
CTFL chapter 05
CTFL chapter 05CTFL chapter 05
CTFL chapter 05
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
software testing
 software testing software testing
software testing
 

Similar to Unit 6 SDET Web Services Testing.pptx

Web Services Composition
Web Services CompositionWeb Services Composition
Web Services Composition
eldorina
 
Semantic Web Services (Standards, Monitoring, Testing and Security)
Semantic Web Services  (Standards, Monitoring, Testing and Security)Semantic Web Services  (Standards, Monitoring, Testing and Security)
Semantic Web Services (Standards, Monitoring, Testing and Security)
Reza Gh
 
Service Oriented Architecture Updated Luqman
Service Oriented Architecture Updated  LuqmanService Oriented Architecture Updated  Luqman
Service Oriented Architecture Updated Luqman
guesteb791b
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NET
Ponraj
 

Similar to Unit 6 SDET Web Services Testing.pptx (20)

Java web services
Java web servicesJava web services
Java web services
 
Description of soa and SOAP,WSDL & UDDI
Description of soa and SOAP,WSDL & UDDIDescription of soa and SOAP,WSDL & UDDI
Description of soa and SOAP,WSDL & UDDI
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservices
 
Web services
Web servicesWeb services
Web services
 
WebService-Java
WebService-JavaWebService-Java
WebService-Java
 
Service view
Service viewService view
Service view
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptx
 
Web Services Composition
Web Services CompositionWeb Services Composition
Web Services Composition
 
Semantic Web Services (Standards, Monitoring, Testing and Security)
Semantic Web Services  (Standards, Monitoring, Testing and Security)Semantic Web Services  (Standards, Monitoring, Testing and Security)
Semantic Web Services (Standards, Monitoring, Testing and Security)
 
Efficient retrieval of web services using prioritization and clustering
Efficient retrieval of web services using prioritization and clusteringEfficient retrieval of web services using prioritization and clustering
Efficient retrieval of web services using prioritization and clustering
 
Cc unit 2 updated
Cc unit 2 updatedCc unit 2 updated
Cc unit 2 updated
 
Web services
Web servicesWeb services
Web services
 
Service Oriented Architecture Updated Luqman
Service Oriented Architecture Updated  LuqmanService Oriented Architecture Updated  Luqman
Service Oriented Architecture Updated Luqman
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOA
 
Web Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NETWeb Service Implementation Using ASP.NET
Web Service Implementation Using ASP.NET
 
Wt unit 6 ppts web services
Wt unit 6 ppts web servicesWt unit 6 ppts web services
Wt unit 6 ppts web services
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
 
Service oriented software engineering
Service oriented software engineeringService oriented software engineering
Service oriented software engineering
 
Day1 : web service basics
Day1 :  web service basics Day1 :  web service basics
Day1 : web service basics
 

More from PallawiBulakh1 (12)

ch13.ppt
ch13.pptch13.ppt
ch13.ppt
 
RM UNIT 6.pptx
RM UNIT 6.pptxRM UNIT 6.pptx
RM UNIT 6.pptx
 
RM UNIT 5.pptx
RM UNIT 5.pptxRM UNIT 5.pptx
RM UNIT 5.pptx
 
Research Methodology UNIT 4.pptx
Research Methodology UNIT 4.pptxResearch Methodology UNIT 4.pptx
Research Methodology UNIT 4.pptx
 
Research Methodology UNIT 3.pptx
Research Methodology UNIT 3.pptxResearch Methodology UNIT 3.pptx
Research Methodology UNIT 3.pptx
 
Research Methodology UNIT 2.pptx
Research Methodology UNIT 2.pptxResearch Methodology UNIT 2.pptx
Research Methodology UNIT 2.pptx
 
Research Methodology UNIT 1.pptx
Research Methodology UNIT 1.pptxResearch Methodology UNIT 1.pptx
Research Methodology UNIT 1.pptx
 
Msword module 3
Msword  module 3Msword  module 3
Msword module 3
 
Ms word module 2
Ms word  module 2Ms word  module 2
Ms word module 2
 
Introduction to web technology
Introduction to web technologyIntroduction to web technology
Introduction to web technology
 
Ms word module 1
Ms word module 1Ms word module 1
Ms word module 1
 
How to write and publish good quality research paper
How to write and publish good quality research paperHow to write and publish good quality research paper
How to write and publish good quality research paper
 

Recently uploaded

The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 

Recently uploaded (20)

UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
Benefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxBenefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptx
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptx
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 

Unit 6 SDET Web Services Testing.pptx

  • 1. Web Services Testing Dr. Pallawi Bulakh
  • 2. Contents  7.1 Service Oriented Architecture (SOA), who uses SOA  7.2 Web Services, Why Web Services are Being Used? What is WSDL? , Web Service Standards, tools to test  7.3 Web services, how to test web services, why to test web services  7.4 Understanding WSDL, how is it used, specifications, document, and file, Retrieving and Viewing/ Inspecting WSDL file  7.5 SOAP, SoapUI tool, download and installation RESTFul Service
  • 4. Service Oriented Architecture (SOA)  A Service-Oriented Architecture or SOA is a design pattern which is designed to build distributed systems that deliver services to other applications through the protocol.  It is only a concept and not limited to any programming language or platform
  • 5. What is Service?  A service is a clear, independent function that describes a piece of functionality.  A service can swap data and knowledge from different services. It is not reliant on the nature of another service.  It applies a loosely coupled, message-based information design to interact with applications and additional services.
  • 6. Service Connections  Service consumer sends a service request to the service provider, and the service provider sends the service response to the service consumer.  The service connection is understandable to both the service consumer and service provider.
  • 7. Architecture of SOA  Services - The services are the logical entities defined by one or more published interfaces.  Service provider - It is a software entity that implements a service specification.  Service consumer - It can be called as a requestor or client that calls a service provider. A service consumer can be another service or an end-user application.  Service locator - It is a service provider that acts as a registry. It is responsible for examining service provider interfaces and service locations.  Service broker - It is a service provider that pass service requests to one or more additional service providers.
  • 8. SOA has the following advantages:  Easy to integrate - In a service-oriented architecture, the integration is a service specification that provides implementation transparency.  Manage Complexity - Due to service specification, the complexities get isolated, and integration becomes more manageable.  Platform Independence - The services are platform- independent as they can communicate with other applications through a common language.  Loose coupling - It facilitates to implement services without impacting other applications or services.  Parallel Development - As SOA follows layer-based architecture, it provides parallel development.  Available - The SOA services are easily available to any requester.  Reliable - As services are small in size, it is easier to test and debug them.
  • 10. What is Web Service  It is a client-server application or application component for communication.  The method of communication between two devices over the network.  It is a software system for the interoperable machine to machine communication.  It is a collection of standards or protocols for exchanging information between two devices or application.
  • 11. Types of Web Services
  • 12. Web Service Components  There are three major web service components. 1. SOAP 2. WSDL 3. UDDI
  • 13. SOAP  SOAP is an acronym for Simple Object Access Protocol.  SOAP is a XML-based protocol for accessing web services.  SOAP is a W3C recommendation for communication between applications.  SOAP is XML based, so it is platform independent and language independent. In other words, it can be used with Java, .Net or PHP language on any platform. 
  • 14. WSDL  WSDL is an acronym for Web Services Description Language.  WSDL is a xml document containing information about web services such as method name, method parameter and how to access it.  WSDL is a part of UDDI. It acts as a interface between web service applications.  WSDL is pronounced as wiz-dull
  • 15. UDDI  UDDI is a XML based framework for describing, discovering and integrating web services.  UDDI is a directory of web service interfaces described by WSDL, containing information about web services
  • 16. WSDL  WSDL Documents  An WSDL document describes a web service. It specifies the location of the service, and the methods of the service, using these major elements: Element Description <types> Defines the (XML Schema) data types used by the web service <message> Defines the data elements for each operation <portType> Describes the operations that can be performed and the messages involved. <binding> Defines the protocol and data format for each port type
  • 17. The main structure of a WSDL document looks like this:  <definitions> <types> data type definitions........ </types> <message> definition of the data being communicated.... </message> <portType> set of operations...... </portType> <binding> protocol and data format specification.... </binding> </definitions>
  • 18. WSDL Example  <message name="getTermRequest"> <part name="term" type="xs:string"/> </message> <message name="getTermResponse"> <part name="value" type="xs:string"/> </message> <portType name="glossaryTerms"> <operation name="getTerm"> <input message="getTermRequest"/> <output message="getTermResponse"/> </operation> </portType>
  • 19.  In this example the <portType> element defines "glossaryTerms" as the name of a port, and "getTerm" as the name of an operation.  The "getTerm" operation has an input message called "getTermRequest" and an output message called "getTermResponse".  The <message> elements define the parts of each message and the associated data types. 