API Testing · Senior · Question 19 of 75

How should a service consuming third-party APIs be tested for safety?

Show the answer

Correct answer: Treat responses as untrusted: validate, limit, handle failures

Explanation

Unsafe consumption of APIs is in the OWASP list. Stubs can return huge, malformed or malicious payloads to check validation.

Further reading

Problem with a question

API Testing · Senior · question 19

Test yourself

Take the API Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz