|
Answer» We follow the below approaches in API Testing: - Firstly, write required TEST cases for testing the APIs by making use of different testing techniques like EQUIVALENCE class, boundary value analysis etc that HELPS to verify the functionalities.
- Clearly define the scope and functionality of the APIs.
- Define the different input parameters that you want to test the API with.
- Verify the test cases by passing the input parameters.
- Compare the results of the different test cases based on their expected behavior.
- Also subject the API to different CONDITIONS depending on the description of the functionality.
|