📮 API Testing — Client
Hands-on API testing with Postman and Bruno — building collections, parameterising with environments and variables, writing assertions and test scripts, running data-driven iterations, and working with git-based plain-text collections. Pairs with the API Automation area for the framework and code-first side of API testing.
Postman · Bruno
// Practical Assignments(5)
Build a Postman Collection
Organise HTTP requests for a real public REST API into a structured Postman collection — covering CRUD operations, query parameters, headers, request bodies, and saved example responses — to hands-on QA standard.
Postman Environments & Variables
Parameterise a Postman collection with environments and variables — creating reusable dev and staging configs, scoping variables correctly, and chaining an auth token from a login request into all subsequent requests automatically.
API Assertions & Test Scripts
Write Postman pm.test assertions for status codes, response body fields, JSON schema validation, and response time — then run the full collection in the Collection Runner and produce a pass/fail summary.
Data-Driven API Testing
Drive a Postman collection through multiple iterations using a CSV data file — parameterising request bodies and assertions, running the suite in the Collection Runner, and executing it via Newman on the command line for CI-readiness.
Bruno — Git-Based API Testing
Build an API test collection in Bruno — the open-source, offline-first, git-friendly alternative to Postman — using plain-text .bru files, environments, assertions, and version-controlled collection structure.