You have an OpenAPI/Swagger spec and a deadline. In this hands-on Master Class, we’ll take that spec and build a working, code-based test suite – using AI as a real helper, not as a gimmick.
Phase 1: Postman & API Exploration. We start in Postman: import the spec, let Postbot write a first set of tests, and use it to understand the business logic. We’ll also use AI to find gaps in the documentation – undocumented status codes, unclear error responses, and edge cases the spec does not mention. The goal is not only to write tests, but to understand the API well enough to test it properly.
Phase 2: IDE & Code Migration. Then, we move to the IDE. Using your own AI agent, you’ll turn that understanding into maintainable tests, including request chaining and passing tokens, IDs, and state across an end-to-end flow. We’ll work in TypeScript, but the approach works with any language – Python, C#, or whatever your team uses. The key idea is that the Postman work becomes a clear specification for the AI agent, so it builds on something real rather than guessing.
Throughout, the focus is on judgment: where AI saves you time, where it leads you in the wrong direction, and how to tell the difference. This is a working session – bring your laptop.
Workshop Agenda
1. Environment Setup: Initialize fresh, empty repositories from scratch and configure Postman, your IDE, and AI agents.
2. API Discovery: Import OpenAPI specs into Postman and use Postbot to instantly draft initial assertions.
3. Gap Analysis: Use AI to audit the API, exposing undocumented status codes, missing logic, and edge cases.
4. The IDE Handoff: Translate your Postman exploration into strict, context-rich prompts for your IDE’s AI agent.
5. Test Coding: Prompt your AI agent to write maintainable code, handling request chaining, data state, and dynamic tokens.
6. CI/CD Debugging: Use AI to troubleshoot pipeline failures, fix YAML configurations, and resolve infrastructure issues.
7. Hands-On Challenge: Build a complete end-to-end automation flow from scratch using a Star Wars, Pokémon API, or similar.
8. Architecture Review: Analyze the generated code, spot AI hallucinations, and review framework scalability.
Prerequisites:
– Postman installed with a trial (AI features) enabled.
– An IDE of your choice – for example, VS Code, Cursor, or a JetBrains IDE (WebStorm, IntelliJ, PyCharm).
– An AI coding agent of your choice, installed and working – for example, GitHub Copilot, Cursor, Cline, or Augment.
– You have a basic understanding of how REST APIs work (requests, responses, status codes).