Welcome to Postman Quick Reference Guide’s documentation!¶
Dynamic variables¶
Simple solutions to common problems¶
- Request creation
- I have an environment variable as {{url}}. Can I use it inside a script (like pm.sendRequest)?
- How to use pre-request script to pass dynamic data in the request body?
- How can I create or modify the request body?
- How can I modify the request headers?
- How to generate random data?
- How to trigger another request from pre-request script?
- How to send request with XML body from a script?
- How to pass arrays and objects between requests?
- How to read external files?
- How to add a delay between Postman requests?
- Assertions
- How find object in array by property value?
- How find nested object by object name?
- How to compare value of a response with an already defined variable?
- How to compare value of a response against multiple valid values?
- How to parse a HTML response to extract a specific value?
- How to fix the error “ReferenceError: jsonData is not defined”?
- How to do a partial object match assertion?
- Schema validation
- JavaScript libraries
- Workflows
- Newman