Skip to content

Postman API Testing Toolkit ​

Postman API Testing Toolkit answers a different kind of interview question: how do you test an API? Not with one GET and a status-code assert — with a layered testing architecture that answers three separate questions: does it work, does it match its contract, and does it fail gracefully?

What a passing collection actually proves ​

LayerQuestionTechnique
SmokeIs it up?One request per critical route + response-time SLA
ContractShape correct?Field-by-field assertions: type, presence, format
FunctionalBehavior correct?Chained CRUD: create → read → update → delete via collection variables
NegativeErrors sane?404s, malformed payloads, boundary values
Data-drivenAll inputs?CSV-driven iterations through Newman

Techniques on display ​

  • HMAC request signing in the sandbox — a pre-request script computes HMAC_SHA256(method + path + timestamp + bodyHash) with CryptoJS, the pattern behind every serious API's anti-replay scheme.
  • Dynamic payloads — $randomUUID and pm.variables.replaceIn() so every run produces unique, traceable data.
  • CI as the canary — GitHub Actions runs both collections via Newman on every push and daily, so contract drift from public APIs gets caught even on weeks you commit nothing. HTML reports ship as artifacts.

Why a "collection repo" belongs next to real services ​

Because testing is where API engineering shows its discipline. The toolkit is designed to run against TaskFlow API and public reference APIs, and its conventions — module :: behavior test naming, zero anonymous asserts, state never hardcoded — are the same ones I bring to team codebases.

Try it

Import the collections into Postman, or run headless: newman run collections/rest-crud-api.postman_collection.json -r htmlextra — github.com/Godde3s/postman-api-testing-toolkit