Session Flows and Readiness
A snapshot's Sessions lens groups requests by the session they belong to. Its Flows and Readiness views show how those sessions move through your API and whether each one can replay as its own user. They run the same analysis as the Sessions tab in proxymock web, so the same recording gives the same result in both.
Open a snapshot, select Traffic, then Sessions, and pick Sessions, Flows or Readiness at the top of the lens. The first view lists the actors, as described in Linked Sessions.
Flows
Flows draws every journey from START through each operation to END. Wider ribbons carry more journeys. An amber ribbon leads to a step that errored on some journeys, and a red one to a step that errored on half or more of them. When a recording has many operations, the rarest ones are collapsed into a single other node, and the headline says how many.
Below the graph, Top journeys lists the most common paths through the API with how many journeys took each one, and Where journeys end lists the last operation of each journey with how many of those ended on an error. A journey that stops early on an error is where users drop off.
Readiness
A load test that replays many sessions needs each one to act as a distinct user. Readiness checks each recorded session's credential:
- JWT, re-sign: a JWT the replay can re-sign for each replayed user.
- Basic, credential set: Basic auth, which needs a set of usernames and passwords to hand out.
- Opaque, preflight: an opaque token, which needs a login request before each replayed session.
- No credential: nothing identifies the user.
The cards count recorded sessions, the sessions that are ready to give each replayed user its own identity, the sessions that need action, and the replay slots the plan would assign. Each recommendation names what to change and how many sessions it affects. Applying a recommendation from the dashboard is not available yet; apply it in proxymock web or add the transform to the snapshot yourself. Select a session in the table to open it in the Sessions view.
Sessions are named by a label rather than the raw session key, so a Basic auth password or a token never shows on the page.
Make a snapshot of one session
In the Sessions view, select an actor and click New snapshot. The new snapshot keeps only that actor's session IDs, in the snapshot's services, during the snapshot's time range, and leaves the snapshot you started from as it was. Speedscale builds it from the traffic Speedscale still holds for that time range. If a session key looks like a token, only its first characters appear in the new snapshot's name.
Verify identities after a replay
After a replay, open the report's Accuracy tab. Session verification says whether each recorded session replayed as its own working user: it counts the distinct identities the app saw across the verified sessions and lists any session that presented no identity, changed identity partway through, or failed on authentication.
Keep in mind
Each analysis reads up to the first 100,000 requests of a snapshot and 200,000 replayed requests of a report, and says so when it stops early. A snapshot or report analyzed before these views existed shows a note instead; reanalyze the snapshot, or replay again, to see them.