Collection versus local variables

I want to create a collection run
When saving variables, should i be setting collection variables or local variables?
i tried setting a local variable but then it was only available for 1 request in the run and not any others

Local variables will only be available for that run.

Collection runs should persist between runs (as will Environment variables).

If its confidential information like access tokens or passwords, it should be the current value within an environment. (Current values do not sync to Postman Cloud and aren’t included if you export the environment).

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