No results for ""
EXPAND ALL
  • Home
  • API docs

Testing flag targeting

Read time: 1 minute
Last edited: Nov 13, 2024

Overview

This topic explains how to use the flag evaluation simulator to find out which variation a particular context will receive for a given feature flag. Testing flag targeting helps ensure that contexts receive the flag variations you expect after you make targeting changes.

Test flag targeting

To test a flag's targeting:

  1. From the Flags list, open the flag you want to preview.

  2. Make any needed changes to the flag rules.

  3. Click the fingerprint icon. The "Test targeting" section appears.

  4. From the menu that appears, search for and select the context you want to preview.

    The "Test targeting" section, populated with an example context kind and key.
    The "Test targeting" section, populated with an example context kind and key.

The "Test targeting" section populates with the variation that the context is receiving based on current targeting, and the variation it will receive after you save your targeting changes.