Manuals / API Testing / Chapter 3

A · HTTP Foundations · beginner · Week 1–2 · Chapter 3 of 11

Postman collections & environments

Postman is the industry default for API exploration. Collections, environments, variables, and test scripts — organized like a real QA team.

Path progress
20%

Step 1 of 4

Build a collection

Folder by resource: /users, /posts. Name requests as verbs: Get User, Create Post. Variables: {{baseUrl}}, {{userId}}.

Build a collectionDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Build a collectiondrag · tap →Try thisdrag · tap →Follow the dashed drag · tap →

Do this now

Create JSONPlaceholder collection with 8 requests across users and posts.

Was this step clear?
Chapter learning outcomes
  • Collections and folders
  • Environment variables
  • Pre-request scripts
  • Tests tab assertions

Clear these before you leave

Side quest

CRUD folder

Full CRUD on /posts: create, read, update, delete with chained postId.