API Tester - considerations

  1. Understand API requirements

  2. What is the workflow of the application; and where is the API in that flow?


  1. Specify the API output status

  2. The code follows global standard classes

  3. The code is specified in the requirement.


  1. Focus on small functional APIs

  2. You should avoid testing more than one API in a test case.

  3. It is painful if errors occur because you will have to debug the data flow generated by API in a sequence.

  1. Organize API endpoints

  1. Leverage automation capability for API testing

  2. Automate as much as you can *(if applies)


  1. Choose a suitable automation tool

  2. Does the tool support testing the API/Web service types that your AUT (Application Under Test) is using?

  3. Does the tool support the authorization methods that your AUT services require?


  1. Choose suitable verification methods

  2. Compare the whole response body content with the expected information

  3. Compare each attribute value of the response
  4. Compare matching with regular expression

Last update: 2022-07-31