Using Environment Variables
Variables defined in an Environment can be used with API Monitors or Browser Tests. We recommend using Environment variables to externalize any values that change between your Dev/Stage/Prod environments.
By associating Collections with Environments, you can run the same monitors/tests against different environments without duplicating code or having to maintain multiple versions of your tests.
Refer the following documents about using Environment Variables for monitoring checks.
Browser Tests - Using Environment Variables
API Monitors - Using Environment Variables
For running tests on mutiple environments, refer Multi-environment monitoring