Test Flag Resolution
1
Navigate to the flag you want to test
Go to Flags and select the flag you want to test resolving.
2
Open the resolver test
Click the test button (beaker icon) in the Rules section of the flag detail page. This opens the Resolver test page.
3
Select a client
Choose the client you want to test resolution for from the Clients dropdown.
4
Select credentials
Choose the credentials to use for authentication from the Credentials dropdown.
5
Filter by flag (optional)
The Filter by flag checkbox is enabled by default when you open the resolver test from a specific flag. Disable it to test resolution across all flags.
6
Add evaluation context
Click Add evaluation context to add context fields. Toggle between key-value editing and JSON input using the buttons above. For example, add
user_id with your user ID or country with value Sweden.7
Resolve the flag
Click Resolve to test the resolution.
Common Reasons Rules Fail
The most common reasons for a rule not returning a variant are:- The rule is not enabled
- The evaluation context lacks a field used in the inclusion criteria of the rule
- The evaluation context has a value on a field that doesn’t match the criterion on that field in the rule
- The rule is not considered because it has a lower priority than another rule that matches the evaluation context
- The entity value provided in the evaluation context used for random sampling of units might be outside of the sample for the rule due to chance
Related Resources
Rules Reference
Understand rule types and evaluation
Context Schema
Configure evaluation context attributes

