I have an interview that requires some knowledge of API testing which I am not familiar with.
Can someone fill me in a little more on how to test an Application Programming Interface and more info on what it is?
Re: - Information on API Testing - Interview Question
An API is normally a list of functions that an application exposes to the outside world. In the Object based world a list of methods would be exposed and this would be know as an interface.
With both methods and functions there are usually some arguments that they expect which they process and then return you with a value.
You would test that the method/function returns the correct value depending on the input and also that it handles unexpected arguments to. So if the argument the method wanted was a string and you supplied a number how does it handle that?
That is basically API testing.
"You know, Mr. Bernstein, if I hadn't been very rich, I might have been a really great man." Charles Kane, Citizen Kane