Demo: a chained Postman collection with environments
On This Lesson 3 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
build a collection that runs end to end. Prepares JNR-022-LAB1.
Draft outline details
Step by step
- Create the
Shopcollection with folders and thelocalanddeployedenvironments. - Add create category, create product, get product, update, and delete requests using
{{baseUrl}}. - Add post-response scripts that store
categoryIdandproductId. - Planned mistake: the host is typed into every request. Fix: replace it with
{{baseUrl}}; any shared token becomes an environment variable. - Run the collection with the runner and show all tests passing.
- Export it and review the file for secrets before sharing.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.