Does Postman include any built in environment variables? For example if a test fails I’d love to be able to create a notification that the {{requestName}} test failed.
Apologies if this is documented already, wasn’t able to find it.
Does Postman include any built in environment variables? For example if a test fails I’d love to be able to create a notification that the {{requestName}} test failed.
Apologies if this is documented already, wasn’t able to find it.
Hey @jpjpjp,
Depending on the type of notification you’re trying to build - You can get that request name information from pm.info.requestName
and sent it to your platform of choice.
https://learning.postman.com/docs/postman/scripts/postman-sandbox-api-reference
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.