Framework Mode - Tests tab and pm.test()
Folder Structure for Postman Test Automation
postman-project/
├── collections/
│ └── MyAPI.postman_collection.json # API requests and tests
├── environments/
│ ├── dev.postman_environment.json # Dev environment variables
│ ├── staging.postman_environment.json
│ └── prod.postman_environment.json
├── scripts/
│ └── utils.js # Helper scripts for tests
├── reports/
│ └── test-results.html # Generated test reports
├── postman.config.json # Config for Newman CLI runs
└── README.md # Project overview and instructions