"Let the API requests talk to each other!"
summary
Uses Postman to chain two requests against the Calendarific API: one request lists supported countries, the other returns holidays for a given ISO code. A Pre-request script parses the JSON response, builds a countryCode array by pushing each two‑letter code, stores it as an environment variable, then picks a random entry from that array and injects it into the holidays request. Demonstrates code snippets, shows results like BM (Bermuda) and RU (Russia), and explains why this beats global random vars.
AI-written summary · about
chapters (3)
related talks
20mGo Find What We May Have Missed!
35mMastering API Ops: Build Scalable Applications
42mAPI Exploratory Testing
23mPostman Session: Speed Up Your Developer Workflows with Postman
49mTesting Your APIs: Postman, Newman & Beyond
22mRevolutionizing API development: Collaborative workflows with Postman
01h 22mWorkshop: How to Create a Test Data-Driven Framework with Postman
25mPostman Session: Supercharge API Collaboration With Postman
