API Testing · Senior · Question 56 of 75

How do you test that an API degrades gracefully when a non-critical dependency fails?

Show the answer

Correct answer: Fail it and check the core response still works with a fallback

Explanation

A product page should still return when recommendations are down, maybe without that section. Fault injection proves it.

Further reading

Problem with a question

API Testing · Senior · question 56

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