Built-In Environment variables?

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. :grin:

https://learning.postman.com/docs/postman/scripts/postman-sandbox-api-reference

1 Like