Checklist while doing API testing
Sep 23, 2021
When we say API, we have many things that will comes to our mind, lets quickly look into my checklist to cross check with yours :P
- Check HTTP Codes and corresponding status for different scenarios
- Play with Mandatory and Optional fields
- Resiliency testing — How API is behaving with 3rd party system integration and the API’s behaviour when 3rd party system system is slow or down
- With / Without Authentication
- With / Without Authorisation
- Special characters in each input param
- Trying to mock and test if we are depending on 3rd party services
- Contract Testing (if required)

Useful Tools
- Pact for contract testing
- Some mocking tools — Wiremock, Mountebank