Having requests under nested folders for better package management.
I want to get the current path of the request in my script to be logged for easy debugging later.
It could be easily done with process library with
process.cwd();
if it was allowed and files existed however figured out that the collections are saved in indexedDB hence I doubt even if the process library is added to use it can tell the path.
Present way I see is to hardcode the env variable in the first request of each folder and use, but it can get messy very easily.
How about exposing pm.info.request.path kind of ready to use? Assuming the path is already known to the runner app and the reports. exposing the same variable can help greatly.