How to test the API

I started unit testing, and I'm trying to run unit tests in the API shell that I created for the WSDL resource that I use.

I can unit test my classes just fine, but what are the best methods for testing an external API? Should I ever experience this? In addition to the tests, I check the connection and parameters and so on, what are the best methods to ensure that my data is updated correctly (if I even have to).

+5
source share
1 answer

What your search is called Blackbox Testing , which is mainly designed to test the functionality of the API, not its structure.

What do you usually look for:

  • Incorrect or missing features

Google Equivalence Partitioning . , .

+1

All Articles