Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Collection-scoped variables to be modified in test scripts #5053

bjohnso5 opened this issue Aug 20, 2018 · 3 comments


8 participants
Copy link

commented Aug 20, 2018

Is your feature request related to a problem? Please describe.
Not being able to modify collection variables in a dynamic way.

Describe the solution you'd like
A pm.collection.set(...) function would be very helpful for some collection-specific work that I'd like to be able to accomplish (for example, setting a next query string parameter that is specific to the collection the tests are running in).

Describe alternatives you've considered
I am currently using pm.globals.set(...) to accomplish my goal, but it makes using semantic names like next challenging because that is a strange thing to throw into the global scope, but namespacing variables is also a clunky solution.

@a85 a85 added the feature label Aug 20, 2018

@numaanashraf numaanashraf self-assigned this Aug 21, 2018

@vkaegis vkaegis added the runtime label Nov 8, 2018


This comment has been minimized.

Copy link

commented Nov 25, 2018

This will be definitely a good feature to have.

@codenirvana codenirvana added this to To Triage in Runtime Triage and Development via automation Dec 14, 2018

@codenirvana codenirvana moved this from To Triage to Accepted Feature in Runtime Triage and Development Dec 14, 2018


This comment has been minimized.

Copy link

commented Dec 26, 2018

  • to make entire collection available in sandbox??
  • then allow update of session variables of collection

@codenirvana codenirvana moved this from Accepted Feature to Proposed Feature in Runtime Triage and Development Dec 26, 2018


This comment has been minimized.

Copy link

commented Feb 7, 2019

This will avoid collection-only variables being created within the environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.