Common Use Cases
- Auth bypass tokens: skip OAuth flows by injecting a pre-issued test token, so every test starts authenticated without clicking through a login screen
- Feature flags: turn specific features on or off for testing before flipping them for real users
- Custom testing flags: enable test-only debug menus, mock data modes, or skip animations for faster, more deterministic runs
- Environment URLs: point your app at staging, dev, or a local tunnel without rebuilding
- API keys and secrets: credentials your app reads at startup, without baking them into the binary
Creating a Launch Var
- Go to Library > Launch Vars tab
- Click New launch var
- Enter a key, value, and optionally a description
- Save
Sensitive Values
Values can be marked as sensitive. Once saved, sensitive values are hidden in the UI and can only be replaced, not viewed. Use this for API keys and tokens.Launch Vars vs Global Variables
These serve different purposes:| Launch Vars | Global Variables | |
|---|---|---|
| Injected into | The device environment at boot | Test step descriptions via {{var_name}} |
| Accessible by | Your app at runtime | Revyl’s test execution engine |
| Use case | Auth bypasses, feature flags, testing flags, API keys | Test data, usernames, dynamic values |