API Testing
API Testing
API testing refers to the process of testing Application Programming Interfaces (APIs) to ensure their functionality, reliability,
performance, and security. It is the process of using a testing tool to programmatically execute API tests at certain times or
frequencies, or in CI/CD pipelines. It is particularly important for agile development teams, as it enables them to maintain fast-paced
development cycles while continuously and systematically verifying that their API is working as expected
COMMON HTTP METHODS
POST: It is used to create new data or resources on an API.
GET: It is used to retrieve data or resources from an API.
PUT: It is used to update existing data or resources on an API.
PATCH: It is used to update existing data or resources from an API partially.
DELETE: It is used to delete data or resources from an API
TOOLS USED FOR API TESTING – Postman, SoapUI, JMeter, Soap Test, Apigee, Katalon Studio
API FRAMEWORK
API framework is a foundation on which a software developer can build applications for a specific platform. It is defined by the
configuration file which consists the list of all APIs that is required to be activated and activated for a particular program run.
API VERSIONING
API versioning is the practice of specifying a version number in the API endpoint or headers to ensure backward compatibility and
manage changes in the API over time. API versioning is important in API testing to ensure that the correct version of the API is
being tested and that changes in the API do not break existing client applications.
WHAT ARE THE DIFFERENT BUGS THAT CAN BE FOUND IN API TESTING?
Duplicate or missing functionality.
Improper messaging.
Multi-threading issues.
Security and performance issues.
Reliability issues.
Stress, Unused flags, Not implemented errors, Inconsistent error handling
API DOCUMENTATION TEMPLATES - Swagger, Miredot, Slate, FlatDoc, API blueprint, RestDoc, Web service API specification