140
rated 0 times
[
145]
[
5]
/ answers: 1 / hits: 9099
/ 4 Years ago, thu, april 23, 2020, 12:00:00
I will get the JWT token as response i need to set that JWT token as environment variable in postman
this is my code
pm.test(access_token is working, function () {
var jsonData = pm.response.json();
pm.expect(jsonData.access_token).to.exist;
});
pm.environment.set(jwt_token, pm.test);
and when ever the JWT token changes the postman environment variable should set as that new value
More From » postman