Hi guys
Is it possible to get a list of all requests of the current collection in a pre-request script?
Thanks for your support
Hi guys
Is it possible to get a list of all requests of the current collection in a pre-request script?
Thanks for your support
I didn’t do this in a pre-request script, but you certainly could adapt it to do so:
I used the Postman API to load the collection details then grabbed the name of all the requests.