1postman.setGlobalVariable("refresh_token",postman.getResponseHeader("Refresh_token") );
2
1just like variables in Java.
2we can create variables in postman to reuse the value
31.Global variables: accessible everywhere in same workspace
42.Environment variables: accessible in selected environment
53.Collection Variables: belong to the collection itself and
6only accessible within the collection
7