Category "postman-pre-request-script"

postman Pre-request Scropt Unexpected token u in JSON at position 0

I have a post man collection that every route has a Pre-request Script like this const loginUrl = pm.environment.get("reportingUrl") + "auth/login"; console.log

Postman with Pre-request Scripts: "Error: Parse Error: Header overflow"

I was having this problem only when running requests for a local application with some Pre-request Scripts: Error: Parse Error: Header overflow The Postman ve

Run multiple Pre-request scripts sequentially in postman

I have created a postman collection consisting of around 80-100 requests. And I have categorized them in 5 separate folders. Each folder has its own functionali

How do I invoke a postman-defined request within a postman pre-request script?

All examples I've seen of calling a REST API within a Pre-Request script use the http API pm.sendRequest(). I'd much rather 'submit' a request that is defined t