Postman Collection Format
Use your Postman Collections directly with moclojer. Import Collections v2.1, leverage response examples and create mocks without rewriting anything.
What Are Postman Collections?
Why Use Postman Collections?
Support in moclojer
Supported Versions
Accepted Formats
Quick Start
1. Export from Postman
2. Run with moclojer
3. Test
How moclojer Converts Postman Collections
Basic Structure
Path Variables
Query Parameters
Request Body
Complete Example
Postman Collection
Run
Test
Nested Folders
Variables
Collection Variables
Environment Variables
Headers
Request Headers
Response Headers
Multiple Responses (Examples)
Scripts and Tests
Authentication
Bearer Token
API Key
Limitations and Workarounds
1. Multiple Responses
2. Scripts Not Executed
3. Environment Variables
4. Request Validation
Postman vs Native YAML
Aspect
Postman Collection
moclojer YAML
Converting Postman β moclojer YAML
Best Practices
β
Do
β Avoid
Troubleshooting
"Invalid Postman Collection format"
"No responses found"
"Path variables not working"
Next Steps
See Also
Last updated
Was this helpful?