What do you understand by API testing, its significance for a tester & How it is performed in real-time?
We all know the acronym for API. It stands for Application Programming Interface.
Elaboration:
It is an Interface between your UI/presentation later and the database layer. Therefore, it becomes mandatory to test this Interface or APIs so that the communication happens seamlessly and successfully.
API testing is performed to ensure that they meet expectations for functionality, performance, security, and reliability.
How is it done?
Developers provide you collection which you import in a tool called “Postman”.
Now, what is Collection?
A set of multiple API requests bundled together is called a Collection.
What is your role as a Tester?
By making requests to an API and then checking or validating the response to ensure it is accurate and meets the expected result. You check the type of request, the parameters, the body attributes, elements etc.
Can include:
API testing can include testing the functionality of the API, testing the performance of the API, and testing the security of the API.
It can also include testing for error handling, testing for compatibility with different platforms or devices, and testing for compliance with industry standards.