how to set postman environment and use it code example Example: postman environment variables pm.environment.set("variable_key", "variable_value");