How to extract request payload variable to test from a GQL request payload in postman

521 views Asked by At

I am writing tests in postman and i am having GQL POST request, in which i need to extract the GQL variables in test to validate and write script. But i cant able to extract the GQL variables. Is there any methods available to extract GQL variables like we have in json, var req = JSON.parse(pm.request.body.raw);.

0

There are 0 answers