pm.request.url.toString() with value of env var instead of the placeholder
问题 If request is using an environment variable then when using pm.request.url.toString() inside a Pre-requisite Script it outputs the query with the placeholder and not it's actual value. meaning it will output https://somesite.com/api/v3/{{env_variable}} instead of https://somesite.com/api/v3/liststuff or whatever. Is there anyway to get the URL with the value and not the placeholder? 回答1: Request is not resolved in the pre-request script since the variables could be further modified there. But