table of contents Table of contents

Environment variables

On this page

Similar to setting variables at the account level, you can set variables at the group level. For browser checks, you can even set variables at the check level!

Variable hierarchy

As checks are scheduled, Checkly merges the check, group and global environment variables into one data set and exposes them to the runtime environment. During merging, any check variable with the same name as a global or group variable overrides that variable.

Or, in other words: check variables trump group variables trump global variables.

You can make use of this by providing a default value for a specific variable at the global or group level, but allow that variable to be overridden at the group level or check level.


Last updated on April 25, 2024. You can contribute to this documentation by editing this page on Github