A/B Test Inbound Policy
The A/B test policy is used to handle requests differently based on parameters such as user, ip, etc.
Early Access
This policy is in private beta. If you would like to use this please reach out to us: whatzup@zuplo.com
Configuration
{
"name": "my-ab-test-inbound-policy",
"policyType": "ab-test-inbound",
"handler": {
"export": "ABTestInbound",
"module": "$import(@zuplo/runtime)",
"options": {
"testKey": "${user.sub}",
"modifier": {
"module": "$import(./modules/ab-test)",
"export": "abTestModifier"
}
}
}
}
Read more about how policies work