
API Testing Strategies and Anti-Patterns

#64 - Principles for Designing Successful Web APIs - James Higginbotham
Topic 6 of 7
Published Nov 15, 2021 · Clip 43:51–47:45 (3:54)
James discusses API testing strategies and anti-patterns. Relying only on UI-based testing (e.g., Selenium) is insufficient because client-side validation prevents erroneous requests from reaching the server. He recommends contract testing driven from OpenAPI specs and acceptance testing that turns job stories and activity steps from the Align phase into executable tests, similar to BDD with tools like Cucumber, or orchestrated Postman collections. He notes a design-first approach provides all the artifacts needed to inform what tests to write.