SlideShare a Scribd company logo
BY
Sheshadri mishra
AGENDA
 Introduction to Web Service
 Classication
 Why Testing the services
 How to test web services
Test Approach
Test Tool
 Comparison
What is Web Service ?
• The term web service describes a standard way of web based
applications using 4 internet protocol backbone:
XML is used to tag data.
SOAP is used to transfer data.
WSDL is used for describing the services.
UDDI lists what services are available.
XML
• “EXTENSIBLE MARKUP LANGUAGE”.
• Tagging data such that it can be exchanged between applications and
platforms.
• XML describes only data.
• Web Services use xml file for communication.
WSDL
• “ WEB SERVICE DESCRIPTION LANGUAGE”.
• WSDL is a XML based interface description language that is used
for describing the functionality offered by a web service.
• WSDL is meant to be read by applications not humans.
WSDL Documents
<types>
<message>
<binding>
<portType>
Web Service Testing By Sheshadri Mishra
UDDI
• “ UNIVERSAL DESCRIPTION DISCOVERY AND
INTEGRATION “.
• It is XML based format that describes electronic capabilities and
business processes.
• Platform independent and open framework.
Web Service Testing By Sheshadri Mishra
“SOA”
• SOA is “Service Oriented Architecture” heavily depends on web
service.
• In which application components provide services to other
components via a communication protocol , over a network.
• A service-oriented architecture is essentially a collection of services.
Classification
• Web services can be implemented in different ways, but the two is most
popular implementation approaches :
SOAP REST
SOAP
• “ SIMPLE OBJECT ACCESS PROTOCOL”.
• Soap contains envelop, header and body.
• Soap uses XML format to send and receive the request.
• It uses WSDL for description and it works with operation.
• SOAP messages contain three main elements :
Envelope - Specifies that the xml document is a soap message.
Header (optional) – Contains information relevant to the message.
Body – Includes the message payload.
Web Service Testing By Sheshadri Mishra
• There are two types of SOAP request :
– RPC Style.
 “ REMOTE PROCEDURE CALL “
 This is usually synchronous
– Document Style.
 A full xml document is passed from client to server inside
the soap message.
REST
• “REPRESENTATIONAL STATE TRANSFER”.
• REST is an architectural style not a protocol.
• Interactions are based on the transfer of resource state
representation.
• A services based on REST architecture is known as RESTful
service.
Web Service Testing By Sheshadri Mishra
Request Methods
• To retrieve a resource.GET
• To create a resource on server.POST
• To change the state of a resource.PUT
• To remove or delete a resource.DELETE
Why Testing the Services
 It remove the dependency.
 It can reduce the cost.
 It also allows how many systems consume the service.
 Reduce issues in system integration testing.
Challenges in Testing Web Services
• Scalability
• Security
• Performance.
• Absences of User Interface.
• Distributed Across network.
Testing the Services
 Functional Testing.
 Performance Testing.
 Security Testing.
 Regression Testing.
 Load & Stress Testing.
 Penetration Testing.
How To Test Service
• Test Approach
When testing web services we can use same approach as for
any other testing project :
Identify Requirements.
Prepare High Level Test Cases.
Document Detailed Test Cases, etc.
Test Tools
 SoapUI
 Jmeter
 SilkPerformer
 XmlSpy 5
 SOAPtest
 ANTS
SOAP v/s REST
SOAP REST
A XML based message protocol. An Architectural style protocol.
Invoke services for calling RPC
method.
Simply calls services via URL path.
Transfer is over HTTP, SMTP, FTP etc. Transfer is over HTTP only.
Performance is low. Performance is much better than Soap.
Uses WSDL for communication
between consumer and provider.
Uses XML or JSON to send and receive
data.
THANK YOU

More Related Content

PPTX
Testing web services
PDF
Testing Web Services - QA or the Highway 2016
PPTX
Webservice Testing
PPTX
Time to REST: testing web services
PPTX
Introduction to SoapUI day 3
PPTX
Web service testing_final.pptx
PPTX
Web services - A Practical Approach
PPTX
Webservices Overview : XML RPC, SOAP and REST
Testing web services
Testing Web Services - QA or the Highway 2016
Webservice Testing
Time to REST: testing web services
Introduction to SoapUI day 3
Web service testing_final.pptx
Web services - A Practical Approach
Webservices Overview : XML RPC, SOAP and REST

What's hot (20)

PDF
Web Services
PPTX
Ntg web services
PDF
XML-RPC and SOAP (April 2003)
PPTX
Soap and restful webservice
PPTX
Web services automation from sketch
PPT
SOAP-UI The Web service Testing
PPTX
Soap ui introduction
PPTX
PDF
Spring Web Services: SOAP vs. REST
PDF
Web service introduction
PPTX
Soa 28 the role of wsdl, soap and java xml mapping in soa
PDF
Lecture #6. automation testing (andrey oleynik)
PPTX
Soap vs rest
PDF
Introduction to SOAP/WSDL Web Services and RESTful Web Services
PPTX
SOAP vs REST
PPTX
SOAP--Simple Object Access Protocol
PDF
RESTful Web Services with Spring MVC
PPTX
Java Web services
PPT
Web services
PPT
Soap and Rest
Web Services
Ntg web services
XML-RPC and SOAP (April 2003)
Soap and restful webservice
Web services automation from sketch
SOAP-UI The Web service Testing
Soap ui introduction
Spring Web Services: SOAP vs. REST
Web service introduction
Soa 28 the role of wsdl, soap and java xml mapping in soa
Lecture #6. automation testing (andrey oleynik)
Soap vs rest
Introduction to SOAP/WSDL Web Services and RESTful Web Services
SOAP vs REST
SOAP--Simple Object Access Protocol
RESTful Web Services with Spring MVC
Java Web services
Web services
Soap and Rest
Ad

Similar to Web Service Testing By Sheshadri Mishra (20)

PPTX
Web Services - A brief overview
PPTX
Web services for banks
PPTX
Автоматизация тестирования API для начинающих
PPT
Web service
PPTX
Web services
PPTX
unit -4 spring web services like SOA Arch
PPTX
Web services
PPT
Rest introduction
PPT
Introduction to REST
PPT
complete web service1.ppt
PPTX
Web-services-MD.pptx for web site designing
PPTX
An Overview of Web Services: SOAP and REST
PDF
Web Services / Technology in Cloud Computing
PPTX
Web services
PPT
PPT
java-webservices introduction ppt for beginners
PPT
webservices.ppt for website designing ppt
PDF
Web services and Applications in Web Technology.pdf
PPTX
Introduction to APIs (Application Programming Interface)
Web Services - A brief overview
Web services for banks
Автоматизация тестирования API для начинающих
Web service
Web services
unit -4 spring web services like SOA Arch
Web services
Rest introduction
Introduction to REST
complete web service1.ppt
Web-services-MD.pptx for web site designing
An Overview of Web Services: SOAP and REST
Web Services / Technology in Cloud Computing
Web services
java-webservices introduction ppt for beginners
webservices.ppt for website designing ppt
Web services and Applications in Web Technology.pdf
Introduction to APIs (Application Programming Interface)
Ad

Recently uploaded (20)

PPT
Introduction Database Management System for Course Database
PPTX
Transform Your Business with a Software ERP System
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Nekopoi APK 2025 free lastest update
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
ai tools demonstartion for schools and inter college
PDF
System and Network Administration Chapter 2
PDF
top salesforce developer skills in 2025.pdf
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Digital Strategies for Manufacturing Companies
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
CHAPTER 2 - PM Management and IT Context
Introduction Database Management System for Course Database
Transform Your Business with a Software ERP System
How to Choose the Right IT Partner for Your Business in Malaysia
Nekopoi APK 2025 free lastest update
Operating system designcfffgfgggggggvggggggggg
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Odoo Companies in India – Driving Business Transformation.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Wondershare Filmora 15 Crack With Activation Key [2025
ai tools demonstartion for schools and inter college
System and Network Administration Chapter 2
top salesforce developer skills in 2025.pdf
Online Work Permit System for Fast Permit Processing
Adobe Illustrator 28.6 Crack My Vision of Vector Design
ISO 45001 Occupational Health and Safety Management System
Digital Strategies for Manufacturing Companies
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
CHAPTER 2 - PM Management and IT Context

Web Service Testing By Sheshadri Mishra

  • 2. AGENDA  Introduction to Web Service  Classication  Why Testing the services  How to test web services Test Approach Test Tool  Comparison
  • 3. What is Web Service ?
  • 4. • The term web service describes a standard way of web based applications using 4 internet protocol backbone: XML is used to tag data. SOAP is used to transfer data. WSDL is used for describing the services. UDDI lists what services are available.
  • 5. XML • “EXTENSIBLE MARKUP LANGUAGE”. • Tagging data such that it can be exchanged between applications and platforms. • XML describes only data. • Web Services use xml file for communication.
  • 6. WSDL • “ WEB SERVICE DESCRIPTION LANGUAGE”. • WSDL is a XML based interface description language that is used for describing the functionality offered by a web service. • WSDL is meant to be read by applications not humans.
  • 9. UDDI • “ UNIVERSAL DESCRIPTION DISCOVERY AND INTEGRATION “. • It is XML based format that describes electronic capabilities and business processes. • Platform independent and open framework.
  • 11. “SOA” • SOA is “Service Oriented Architecture” heavily depends on web service. • In which application components provide services to other components via a communication protocol , over a network. • A service-oriented architecture is essentially a collection of services.
  • 12. Classification • Web services can be implemented in different ways, but the two is most popular implementation approaches : SOAP REST
  • 13. SOAP • “ SIMPLE OBJECT ACCESS PROTOCOL”. • Soap contains envelop, header and body. • Soap uses XML format to send and receive the request. • It uses WSDL for description and it works with operation.
  • 14. • SOAP messages contain three main elements : Envelope - Specifies that the xml document is a soap message. Header (optional) – Contains information relevant to the message. Body – Includes the message payload.
  • 16. • There are two types of SOAP request : – RPC Style.  “ REMOTE PROCEDURE CALL “  This is usually synchronous – Document Style.  A full xml document is passed from client to server inside the soap message.
  • 17. REST • “REPRESENTATIONAL STATE TRANSFER”. • REST is an architectural style not a protocol. • Interactions are based on the transfer of resource state representation. • A services based on REST architecture is known as RESTful service.
  • 19. Request Methods • To retrieve a resource.GET • To create a resource on server.POST • To change the state of a resource.PUT • To remove or delete a resource.DELETE
  • 20. Why Testing the Services
  • 21.  It remove the dependency.  It can reduce the cost.  It also allows how many systems consume the service.  Reduce issues in system integration testing.
  • 22. Challenges in Testing Web Services • Scalability • Security • Performance. • Absences of User Interface. • Distributed Across network.
  • 23. Testing the Services  Functional Testing.  Performance Testing.  Security Testing.  Regression Testing.  Load & Stress Testing.  Penetration Testing.
  • 24. How To Test Service • Test Approach When testing web services we can use same approach as for any other testing project : Identify Requirements. Prepare High Level Test Cases. Document Detailed Test Cases, etc.
  • 25. Test Tools  SoapUI  Jmeter  SilkPerformer  XmlSpy 5  SOAPtest  ANTS
  • 26. SOAP v/s REST SOAP REST A XML based message protocol. An Architectural style protocol. Invoke services for calling RPC method. Simply calls services via URL path. Transfer is over HTTP, SMTP, FTP etc. Transfer is over HTTP only. Performance is low. Performance is much better than Soap. Uses WSDL for communication between consumer and provider. Uses XML or JSON to send and receive data.