Simulations
Learn how you can simulate multiple scenarios.
Simulating certain scenarios can be accomplished by setting the X-Test-Case
header.
These headers are subject to change, but here are a few you can use to simulate failures.
Header Example | Simulation |
---|---|
CACUserDoesntHaveAccessForOrg | Simulate not having permission to use the Buyer API |
CDistApiReturns403OnBatchAdd | Simulate not being allowed to distribute the passed segment IDs |
CDistApiReturns403OnBatchDelete | Simulate not being allowed to stop distributing the passed IDs |
CDistApiReturns403OnGetDestinations | Simulate not being allowed to see Data Marketplace destinations |
DSSSReturns500OnSegmentSearch | Simulate unexpected error while searching segments |
DSSSReturns500OnSegmentDetails | Simulate unexpected error while getting segment details |
Updated almost 4 years ago