6. API Testing
6. API Testing
API testing
➢ API testing is a type of software testing where application programming interfaces
(APIs) are tested to determine if they meet expectations for functionality, reliability,
performance, and security.
➢ Testing the application in Source code layer (Business layer) is called API testing
➢ Testing interface between two Application is also called API testing
➢ Testing done without browser is called API testing
Web service
➢ Web Services is the mechanism or the medium of communication
through which two applications / machines will exchange the data
irrespective of their underline technology.
➢ Web services help 2 application exchange information with each other
when application running in same or different platform.
➢ Any service available on web is called webservice.
➢ All Web services are API, but all APIs are not webservice.
➢ Web service help us to share the functionality of one application to any
other application without sharing the source code & database data.
Why Web Service Testing?
➢ The purpose of Web Service Testing is to verify that all of the APIs
exposed by your application is working as expected WRT functionality,
performance & security.
➢ All web services are exposed via API
➢ Testing request and response of the API is called webservice testing
➢ Webservice provider has to test all the APIs in order to make sure all the
functionality which is exposed via web service is working.