> ## Documentation Index
> Fetch the complete documentation index at: https://backstage.spotify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve Tester

> Test flag resolution by providing an evaluation context and inspecting which rules match, with troubleshooting for common failures.

Test and build intuition for the resolving of rules on a flag by providing an
evaluation context and resolve it against a client.

Go to **Flags** and select the flag you want to test resolving. At the top of the list of rules, select **Test rules**.
Click **Add evaluation context** and give the context you want to test to
resolve. Click **JSON** to give the evaluation context as a JSON object.

The resolve tester returns a detailed response explaining which rules that
match and which don't, together with the reasons why.

## 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 does not 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
