Manuals / Postman & API Exploration / Chapter 3

Core · intermediate · ~40 min · Chapter 3 of 3

Tests & monitors

pm.test assertions and collection runner basics.

Path progress
83%

Step 1 of 2

Key idea

Assert status and JSON fields in the Tests tab so regressions show up in the runner.

Key ideaDrag 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 →Key ideadrag · tap →Go deeperdrag · tap →Follow the dashed drag · tap →

Quick check

pm.test runs…

Do this now

Write 3 notes on: Postman tests.

Was this step clear?
Chapter learning outcomes
  • pm.test
  • Runner
  • Newman intro

Clear these before you leave