How set environment from reponse?

CrazyQA
Sun, 05 Jul 2020 09:57:19 +0000
Help Hub

Write test and need set environment for field countries from response

Try:
pm.test(“Old market id”, () => {
pm.environment.set(“old_market_id”,response.countries)
});
But it’s not work and display countries = null

Response

2 posts - 1 participant