Skip to main content
Feedback

Traffic Shadowing Policy

Traffic shadowing allows you to asynchronously copy API traffic to another service. Requests are duplicated and sent to the target URL. The request can be enriched with additional headers.

note

If the Traffic Shadowing policy is applied to an API, it takes precedence and the max retry attempts configured in execution settings are ignored.

Timing

On RequestOn ResponseOn Request ContentOn Response Content
X

Configuration

PropertyRequiredDescriptionDefaultExample
targetyesThe shadow endpoint URL.
headersnoA list of HTTP headers.

Example

{
"traffic-shadowing": {
"target": "http://boomitest.com/shadowApi",
"headers": [
{
"name": "X-Boomi-Request-Id",
"value": "{#request.id}"
}
]
}
}
On this Page