Last used directory when selecting a data file in Collection runner

Whenever I try to use a csv data file in the collection runner, I am always directed to one specific folder. I would like to use the last used folder so that I do not have to change to the folder I need every time I want to change the data.

I am using the desktop app:

image

I have tried to search on the Postman Settings, but I do not see any settings that can help.

Can anyone help with this?

Hey @german-chacon

I think I’m understanding what you mean but correct me if I’m not.

I don’t believe this is configurable and will always display the most recent directory that you were in, on your OS.

If you were to hit Select File choose a different directory and Cancel the file selection, the next to you hit Select File, it would go back to the most recent directory you were in.

This seems to be independent of Postman so if you were doing some other work in a directory and then going back to the app, it would go to that directory when selecting a runner data file.

I’ve had a look at the Github repo and I can’t see a feature request to make this a configurable setting, you could raise it here.

Hi @danny-dainton . Thanks for your reply

Actually what you described is the expected behavior, but in my desktop app, it does not work.

It always goes to the same directory, no matter how many times I change the last directory used.

I tried re-installing the app and tried again, but it is always taking me to the same folder in my drive.

Any other thoughts you might have to get Postman to change to the last directory used?

Thanks

Which version are you using and on which platform (app or web) ?

I’m seeing that expected behaviour on the latest version :thinking:

@danny-dainton I am using the desktop app Version 9.6.1

the web version works fine though

That’s strange, I’m not seeing that on my side. :thinking:

Could you raise an issue on our tracker, please?

If you can include a short recording of the behaviour, that will help the team to see what’s happening.

I have the same problem. Is there already raised an issue on the tracker for that?

@danny-dainton I have created an issue with a small video on what is going on.

Thanks

1 Like

I had the same issue… Select Files always opened to the same folder. I removed that folder and it now opens to the default location I selected in Settings |Working directory.

This was still a problem for me in Postman for Windows (version 10.14.3). Renaming the remembered folder did not help as Postman just politely opened the parent folder of the remembered folder.

I finally figured out how to get Postman to “forget” the last directory from where I had selected a data file (ages ago). There was a Preference file for me under:
C:\Users\Your.User.Name\AppData\Roaming\Postman\Partitions\30ce0954-87f6-4cd4-8374-48407708735e\Preferences

This is in JSON format and it had an element:
"selectfile":{"last_directory":"C:\\Users\\LONG_PATH_WHERE_POSTMAN_WAS_ALWAYS_DEFAULTING_THE_DATA_FILE_LOAD"}
I removed this entry from the Preferences file and Postman started to use my configured Working directory Location.

I hope this helps someone else frustrated by this behavior.

4 Likes

I haven’t spent time to debug it. But I need a workaround like this for mac os.

edit: found the same folder on mac os in here:
/Users/n0d0541/Library/Application Support/Postman/Partitions/

I had also this really annoying problem (v10.14). Your solution worked very well. Postman uses now the last opened directory.
Thanks a lot!

Thanks @jpbeale that just worked!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.