We have a large number of requests in a collection manage in separate folders. I am trying to retrieve the name of the folder for the request in the pre-request script section. Is there any property available in pm object for the same?
postmanlen
(postmanlen)
1
Kurmavatar
(Subramanya Raj)
2
Hi @postmanlen
This thread below should help you with this:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Get Folder Names of a Collection | 7 | 17970 | August 30, 2023 | |
| Get request names in prerequest/test script from runner | 3 | 1373 | April 18, 2024 | |
| How do you read the ID of a Folder in script? | 3 | 1450 | December 7, 2022 | |
| I want past pre-request from folder in pre-request from request in Postman? | 0 | 448 | May 17, 2023 | |
| Run Folder with collection pre-request script | 0 | 221 | April 23, 2024 |