I searched online for 20 minutes already.
I have a param called billerCode.
How do I store that in a variable in the prescript so that I can use it in the test?
For example I tried this but it’s not working:
var billerCode = pm.request.url.query.get(“billerCode”);
It’s saying it’s undefined.
UPDATE: It’s a path variable not a query param, so the solution was pm.request.url.variables.get(‘billerCode’);
Thread can be deleted unless you want to keep it around. Thanks.