Master API Contract Testing: The Ultimate Postman Guide

Master API Contract Testing: The Ultimate Postman Guide

10.787 Lượt nghe
Master API Contract Testing: The Ultimate Postman Guide
Join us for a one-hour, intermediate-level Postman training geared specifically for API testers and other stakeholders invested in the health of your APIs, including product managers, business managers, DevOps practitioners, and more. When it comes to API Contracts, having a goal of “meets expectations” is exactly what you want to strive for. This workshop will focus on various ways to check your OpenAPI Specification for validity, all the way down to data types of your responses. We'll also cover some testing methods to double check the schema in test scripts as well if you're not using OpenAPI. We'll look at advanced options for alerting when things don't match. Guests: - W. Ian Douglas, Senior Developer Advocate - Tim Beauchamp, Senior Software Developer 📚 Chapters: 00:00 Introductions 03:54 Learning Objectives and Agenda 06:52 Why we do testing, and what is Contract Testing 10:06 Importing an OpenAPI specification file into a Postman Workspace 15:15 Changing the API Definition and Running the Postman Validator 23:45 Using automated testing for checking OpenAPI specification conformity 36:25 Consumer-side contract testing with AJV 52:03 Using Postman Monitors to automate regression testing 54:20 Recap and Q&A 📖 Resources: Example OpenAPI Specification file: - https://go.pstmn.io/space-camp-library-yaml Automated OpenAPI Specification conformity testing: - https://www.postman.com/postman/workspace/contract-test-generator (fork the collection and the environment) Postman Intergalactic collection for API Contract Testing: - https://www.postman.com/postman/workspace/postman-intergalactic/collection/22557464-f7d77cc0-b1af-49dc-8350-f6a2267c88b5?ctx=documentation 🔗 Helpful Links: Register for future Postman Intergalactic Events - https://postman.com/events/intergalactic/ 30 Days of Postman for Developers - https://postman.com/postman/workspace/30-days-of-postman-for-developers/ The Postman Answers workspace - https://postman.com/postman/workspace/postman-answers/ Community Forum - https://community.postman.com #APIdesign #ContractTesting