Echo
Echo / Documentation

Echo concept guide

A provider sandbox can change between two builds. A recorded exchange gives both builds the same dependency, down to the delay before its response.

Reading the preview

The selected provider exchange authorises 5,759 minor units for ord_1014. The recorded 201 response contains pay_14. Keep both sides of that exchange when investigating a mismatch in the caller.

In the retry scenario, the first attempt reaches its 800 ms deadline. The retry carries the same idempotency key and returns pay_14 at 1,024 ms. A second payment identifier would be evidence of a different outcome.

View the illustrated workflow

Core concepts

Capture boundary

Record the fields that determine a match, such as method, path and currency. Exclude credentials before preserving a recording.

Scenario selection

Give the happy path and the timeout separate names so a test can select its dependency behaviour explicitly.

Replay evidence

An unmatched request deserves its own result. A fallback success would let the test exercise a different contract.

Availability and scope

Echo is in development. This guide describes the design example. Product releases, installation instructions and an API reference have yet to be published.