Verify Fallback
Use a synthetic failure to verify upstream failover for a logical model.
Configure and publish
- Prepare two Integration models with matching operation and request capabilities.
- Create a Policy logical model using fallback and add targets in the intended order.
- Bind a test Gateway API key to the Policy. Disable direct Integration access if logical routing must be mandatory.
- Validate, review, and publish the candidate. Send a normal synthetic request using the logical model name as a baseline.
Exercise the failure path
In an isolated test environment, make the primary upstream return a retryable failure and send another request of the same type. Inspect attempt results, upstream selection, and final status. Do not invalidate a shared Integration credential to simulate failure.
Budgets, timeouts, and capability filters still constrain attempts. Once content has streamed to the client, switching upstream cannot transparently replay a different result. Restore the simulator after testing.