I have set an environment variable from a response of Post request and variable has set well. now I want to verify whether that value is saved in database by pulling the data using Get request.
I used below code under tests of the Get request.
tests[“Body matches string”] = responseBody.has(promo);
but it is not able to get the promo and showing the below error message
“ReferenceError | promo is not defined”