Hi Everyone,
Iv been having trouble writing promises in pre-requests in postman. I’m trying to make sure a request gets called before another. I have read articles where people are saying Promises are not supported in postman? Is this true?
Hey @mattschmitt
Is there anything here from @singhsivcan that’s of use to you?
I was working with a colleague and we were trying to achieve something by chaining multiple requests as a pre-step before the actual request happened.
Use case:
We wanted to call 3-4 specific endpoints in a specific order and gather all the required data before the actual request was sent out.
One way was to do it by creating multiple requests and using the collection runner. But the other way was to make use of pm.sendRequest, however, there’s no guarantee in which order multiple of pm.sendR…
system
(system)
Closed
December 12, 2024, 12:57pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.