Vincent Hennig & Anupam Krishnamurthy
Contract Testing - How do you tame an external API that constantly breaks your tests
#1about 4 minutes
How a fragile external API broke our tests
A major backend API update broke all frontend tests, leading to 172 hours of developer time spent on fixes.
#2about 5 minutes
Validating API contracts at three distinct levels
Implement robust API tests by validating status codes, response schemas, and specific required data for frontend features.
#3about 4 minutes
Enforcing contracts by treating code as the contract
Replace static documentation with executable contract tests and share them with your partner team to improve debugging and collaboration.
#4about 9 minutes
Simulating contracts to decouple from external APIs
Use a mock server to increase development stability, improve test reliability, and allow frontend work to proceed even when the real API is down.
#5about 1 minute
A summary of the three-step contract testing process
A recap of the validate, enforce, and simulate strategy for managing dependencies on external APIs.
#6about 3 minutes
Q&A on mocking tools and handling API versioning
The speakers answer audience questions about using WireMock versus Karate for mocking, handling API versioning, and managing credentials.
Related jobs
Jobs that call for the skills explored in this talk.
Featured Partners
Related Videos
Continuous testing - run automated tests for every change!
Christian Kühn
How To Test A Ball of Mud
Ryan Latta
How not to test
Golo Roden
Three-and-a-half Ways of Testing your Repositories
Daniel Raniz Raneland
Using code generation for test automation – the fancy way
Roman Alexis Anastasini
Test Driven Development with JavaScript
Sascha Depold & Parinaz Roghany
Are you still programming unit tests or already generating?
Johannes Bergsmann & Daniel Bauer
Implementing smoke testing and proactive monitoring in production
Liam Hurrell & Jan Kunzmann
From learning to earning
Jobs that call for the skills explored in this talk.
QA Tester Automation
Capitole
Municipality of Madrid, Spain
Testeur Maitrisant - Playwright / API REST / JSON
ASFOTEC
Canton de Lille-6, France
Remote
API
JIRA
JSON
REST
+4


