- Optimizely X Full Stack
THIS ARTICLE WILL HELP YOU:
- Understand how feature rollouts and feature tests interact
- Use feature rollouts and feature tests more effectively
Feature tests take precedence over feature rollouts. In other words, if your feature has both a feature test and feature rollout, the feature test is evaluated first. If a visitor does not quality for the feature test, the feature rollout is evaluated.
To understand how this works in practice, image the following scenario. You've deployed a feature to your application and you've created both a feature test and feature rollout for that feature:
Feature test running with an audience and a traffic allocation
Feature rollout running with an audience and a traffic allocation
A series of users are handled by your application and are evaluated according to their audience attributes and your feature test and feature rollout rules. The following chart depicts all possible outcomes:
|User||Feature Test Audience||Feature Test Traffic Allocation||Feature Rollout Audience||Feature Rollout Traffic Allocation||Result|
Interactions in multiple feature tests
You can have only one running production feature test at a time, unless the feature is assigned to a mutually exclusive group. You can have as many draft, paused, and archived experiments on a feature as you like.
If you try to launch a second feature test while another feature test is running, you’ll see a warning that only one feature test is allowed at a time (unless the experiments are mutually exclusive).
Use mutually exclusive groups to run concurrent production feature tests. If feature tests are running in a mutually exclusive group, Optimizely evaluates the visitors’ mutually exclusive group first in the order of operations after calling isFeatureEnabled. After the mutually exclusive group is assigned, Optimizely evaluates the feature test first. If a visitor does not quality for the feature test, the feature rollout is evaluated.