---
title: "Compare for Drift | Speedscale Docs"
description: "Compare two to four Speedscale snapshots or replay reports of the same traffic to find fields whose values change between runs, and add the transform that makes the mocks ignore each one."
canonical: "https://docs.speedscale.com/guides/compare-for-drift/"
---

[Documentation index](https://docs.speedscale.com/guides/llms.txt) | [Markdown](https://docs.speedscale.com/guides/compare-for-drift/index.md) | [Canonical page](https://docs.speedscale.com/guides/compare-for-drift/)

# Compare Recordings for Drift

Drift is a field whose value changes every time the same traffic is recorded, such as a request id header, a timestamp or a generated token. A mock matches on the recorded value, so a drifting field in an outbound request turns into a miss on the next replay. Comparing several recordings of the same traffic finds those fields before they cost you a replay, and proposes a transform for each. This is the dashboard version of [`proxymock web`'s drift view](https://docs.speedscale.com/proxymock/guides/drift/), and both run the same detection.

<a id="start-a-comparison"></a>

## Start a comparison

1.  Open a snapshot or a replay report and open its **More actions** menu.
2.  Select **Compare for drift**. The snapshot or report you started from is already in the list.
3.  Add one to three more snapshots or reports of the same traffic.
4.  Choose a **Sensitivity**: **Permissive** lists every field that varied at all, **Normal** lists fields that vary in more than one request, and **Strict** lists only fields that vary across several requests and endpoints.
5.  When a report is in the list, tick **Include responses changed by chaos** to keep responses a chaos rule changed. They are left out by default, because chaos changes them on purpose.
6.  Select **Start comparison**.

The comparison runs as a background job and its page shows how long it has been running. Each recording is read up to its first 50,000 requests. A snapshot that is still being analyzed cannot be compared yet.

<a id="read-the-result"></a>

## Read the result

The page lists each field that varies, with its service, whether it is on inbound or outbound traffic, how many groups of matching requests it varies across, how many distinct values it took and some example values. The **Proposed transform** column shows the steps of the transform that makes the mocks ignore the field; hover it to see the full chain.

<a id="add-a-transform-to-the-snapshot"></a>

## Add a transform to the snapshot

Select **Add to snapshot** to append the proposed transform to the snapshot's responder transforms. When the comparison includes more than one snapshot, Speedscale asks which one to change. A transform that is already on the snapshot is not added twice, and the row then shows **Added**. The change takes effect on the next replay of that snapshot. To see the requests it changes first, open the snapshot's **Prepare** tab and [preview the transforms on the whole snapshot](https://docs.speedscale.com/guides/transformation/overview/#preview-transforms-on-the-whole-snapshot).
