Skip to content

Request Replay

Capture real page traffic and convert it into mock rules for replay in another environment. Two modes are available:

  • Export as mocks converts every request currently in the monitor list and is useful for initial-page data.
  • Record and export captures only requests created while recording is active and is useful for a focused interaction.

Export the initial request set

Choose Export as mocks from the monitor action menu:

  • Every request in the current monitor list is converted into a rule.
  • The result is downloaded as a JSON file.

To avoid creating a file, choose Add all to Mock list instead. The requests are added directly to the default group.

Record an interaction

  1. Click the circular Record button in the monitor panel.
  2. Select Start recording.
  3. Interact with the page to trigger the requests you need.
  4. Open the menu again and select Stop recording.
  5. Requests captured during the recording receive a REC marker.
  6. Select Export recording as mocks.

Export format:

jsonc
{
  "version": 1,
  "exportedAt": "2025-01-01T00:00:00.000Z",
  "source": "recording",
  "scope": "recorded-requests",
  "group": "default",
  "count": 5,
  "mocks": [
    // Complete MockItemData objects are omitted from this example.
  ],
}

Import the recording

From the Mock list action menu, select Import → Import Mock file and choose the exported JSON file.

You can import into an existing group or create a new one.

Released under the MIT License. · [Privacy Policy](/en/privacy) · [Terms of Service](/en/terms) · Contact: [arktomson99@gmail.com](mailto:arktomson99@gmail.com)