List of all requests in pre-request script

I didn’t do this in a pre-request script, but you certainly could adapt it to do so:

image

I used the Postman API to load the collection details then grabbed the name of all the requests.

Postman API Documentation

4 Likes