API Testing · Senior · Question 47 of 75

What should be tested when an API adds a new required request field?

Show the answer

Correct answer: It's a breaking change for clients; needs a new version or default

Explanation

Old clients don't send it and start getting 400s. Contract tests with old consumer versions catch it before release.

Further reading

Problem with a question

API Testing · Senior · question 47

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