API Testing · Middle · Question 35 of 75
How should a tester check an API deprecation?
- 1Deprecation affects only documentation, so nothing to test
- 2Old version works, sends deprecation headers, docs give an end date
- 3The old version is removed at once to force clients to update
Show the answer
Correct answer: Old version works, sends deprecation headers, docs give an end date
Explanation
Headers like Deprecation and Sunset warn clients. Both versions need tests until the old one is retired.