Is there a way to store a value extracted from the response of a test. I can extract the value using the regular expression extractor, but I need to store that value in a variable and use it in the next run.
I can do that in POSTMAN using the following script:
var jsonData = JSON.parse(responseBody); postman.setEnvironmentVariable("accessToken", jsonData.accessToken);
Can someone help me out with this?
I tried using the regular expression extractor.