test scripts to sync login auth token with env vars in postman code example Example: postman environment variables pm.environment.set("variable_key", "variable_value");