How to persist variable values

View as Markdown

Persisting variable values will replace initial values with current values.

  • Note: To enhance the privacy of your environment variable data, the automatically persist variable values option in Settings has been removed from v8.0.8, and current values of variables no longer automatically persist to initial values when modified.

This article helps you achieve one of the following options:

Persist all current values

Select on Persist All button in the variable edit screens.

Persist only some of the current values

  1. Uncheck the variables you do not want to persist current values in the variable edit screens.
  2. Select on Persist All button.

Programmatically update initial values from pre-request or test scripts

You can modify the initial value of a variable from a script using the Postman API. Refer to the following article to learn how to do this: How to dynamically set the initial value for a variable.


Have more questions? Submit a request