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