Session model
Session → screen visit → requests.
A recorded session is a tree:
Session (id, start date, device, OS, app version)
└── Screen visit (UIViewController name, entered at)
└── Request (method, URL, headers, body, status, duration)Leaving a screen and coming back to it creates a new screen node, so the navigation order is preserved. Two consecutive visits of the same screen are merged into one.
File format
| File | Content |
|---|---|
Dx_XXXXXXX.json | One session, plain JSON (ISO 8601 dates, slashes not escaped). Saved to History. |
IMP_<name>.json | A file imported into History, copied as is. |
Dx_XXXXXXX_S.json | Safe Export: { "isEncrypted": true, "salt", "encryptedData" }, the session JSON encrypted with AES-GCM (base64). |
The session JSON is SessionTrace → screens → networkInteractions:
| Object | Fields |
|---|---|
| Session | sessionId, startedAt, metadata (appVersion, osVersion, deviceModel, isSimulator), screens |
| Screen | id, name, enteredAt, exitedAt, networkInteractions |
| Interaction | id, startedAt, durationMs, screenName, request, response, timing |
request | url, method, headers, bodyBase64, bodySizeBytes, bodyEncoding, isBodyTruncated, bodyOmission |
response | status, headers, bodyBase64, bodySizeBytes, errorDescription, bodyEncoding, isBodyTruncated, bodyOmission |
timing | source, networkDurationMs, appPerceivedDurationMs, phases, redirectCount, isServedFromCache, networkProtocol, isConnectionReused, responseBytesReceived, deliveringURLProtocolName |
bodyEncodingis"text"or"base64". Despite its name,bodyBase64holds readable text when the encoding is"text".bodySizeBytesis always the real size, even when the body is truncated or not stored.isBodyTruncatedis written only whentrue(body larger than 2 MiB).bodyOmissionexplains a missing body:"binaryContent","notObservableForTaskType"(download and stream tasks) or"memoryBudget".deliveringURLProtocolNamenames a third-partyURLProtocolthat delivered the response.- A response interrupted by stopping the capture has
status0 anderrorDescription"Capture stopped before the response was received". - Files from older SDK versions have no
bodyEncoding: non-JSON bodies are replaced by acan't save this type of content: …note.