250 collection runs per month on Professional?

Hi @heamshrij

Say I have request 1 that, in the test tab, picks a nationality randomly from an array… I then ‘set’ the value to an environment variable.

And I want to use this value as a param in request 2. I could do that by calling the environment variable in the second collection.

However, you would also need to use the ‘–export-environment [path]’ option, as without this the ‘initial value’ would remain static. (current value is not shared with postman servers so it would never be able to use that value… to update the initial value you would have to export the environment).

When you run the Newman option to export, the value would be updated each time, see the image below:

1 Like