OpenAPI descriptions are often incomplete or outdated, which makes API drift a common problem. Over time, descriptions and implementations diverge, leading to broken integrations and frustrated consumers.
In this talk, we explore how schema-based contract testing helps detect and prevent API drift early, drawing on real-world experience. After a brief introduction on API testing and a comparison of different contract testing approaches, I’ll demonstrate how to implement schema-based contract testing with Portman.
Portman is an open source tool that injects contract and variation tests into API collections with minimal configurations in JSON or YAML. The advantages of schema-based contract testing are clear: It’s easy to learn, easy to control, and comes with low maintenance overhead. However, schema-based contract testing is not a silver bullet, so knowing its limits is key.
You’ll leave with best practices, common pitfalls, and a clear path to getting started with schema-based contract testing, including the knowledge to decide when this approach is the right fit.
High impact blog posts and eBooks on API business models, and tech advice
Connect with market leading platform creators at our events
Join a helpful community of API practitioners
Can't make it to the event? Signup to the Nordic APIs newsletter for quality content. High impact blog posts on API business models and tech advice.
By clicking below, you agree that we process your information per the terms in our Privacy Policy.
Become a part of our global community of API practitioners and enthusiasts. Share your insights on the blog, speak at an event or exhibit at our conferences and create new business relationships with decision makers and top influencers responsible for API solutions.