All systems operational … …
--:--:--
// guides & concepts

Learn Postman

Beginner

Postman Collections & Environments

Organise requests into collections, store base URLs in environments and switch between dev and prod instantly.

CollectionsEnvironments
Read guide β†’
Beginner

Writing Tests in Postman (pm.test)

Add JavaScript test scripts in the Tests tab β€” assert status codes, response body and header values.

pm.test()pm.expect()
Try it β†’
Intermediate

Chaining Requests with pm.environment.set()

Extract a token from a login response and pass it automatically to all subsequent authenticated requests.

Pre-request ScriptsVariables
Read guide β†’
Intermediate

Data-Driven Testing with CSV in Collection Runner

Upload a CSV file to the Collection Runner and iterate tests across multiple data rows automatically.

Collection RunnerCSV
Read guide β†’
Advanced

Running Collections in CI with Newman

Export your collection and run it from the CLI via Newman β€” integrate into Jenkins or GitHub Actions.

NewmanCI/CDHTML Reporter
Read guide β†’
Advanced

Mock Servers & Contract Testing in Postman

Create a mock server from a collection to test frontend apps before the real API is ready.

Mock ServerContract
Read guide β†’
// hands-on

Live Practice Lab

πŸ“¬ pm.test() Simulator


…
pm.test("Status is 200", function(){
pm.response.to.have.status(200);
});
pm.test("Body has userId", function(){
var json = pm.response.json();
pm.expect(json.userId).to.eql(1);
});