Dynamic Test Generation with OpenAPI 3.0
summary
CLAIM: Generate tests from an OpenAPI 3.0 spec and run them automatically in Postman using the Postman API. Implementation parses YAML/JSON, builds request examples, then mutates required fields to produce contract, performance and breaking-change tests (demo runs 375 assertions across ~7–8 endpoints). Uses AJV for schema checks, saves workflow IDs for chained tests, and runs performance checks (10 requests per endpoint, targets: avg ≤500ms, worst ≤1200ms; example: POST avg 200ms, worst 432ms). Repo: postman-contract-test-generator.
AI-written summary · about
chapters (12)
- 0:00Introduction to dynamic test generation
- 1:04Agenda and talk overview
- 1:24What is dynamic test generation
- 4:38Why test generation matters
- 7:06REST API in Postman explained
- 9:30OpenAPI 3.0 as API blueprint
- 10:55OpenAPI components breakdown
- 15:09How test generation works
- 22:14Demo: Contract tests
- 23:59Demo: Performance tests
- 25:47Demo: Breaking changes tests
- 29:19Demo wrap-up and Q&A
related talks
51mThe Swag of Performance Testing
14mIntegrate Postman with Generative AI for Effective API Testing
20mOpenAPIspec
44mHow to fast generate your API Test with OpenAPI Tools and Rest-Assured
25mAutomation API Testing
23mSolving Challenges in API Testing to Achieve More Agile Development
40mApisecure, 14 & 15 March 2023 - Ian Douglas, Senior Developer Advocate at Postman.
40mAutomated API Tests with Postman
