Tutorials / Features

Scenarios

Record a flow once, then replay it with no server: for demos, UI tests and working offline.

3 minutesapp · agents

Record a scenario

  1. Open Rules and press Record under Scenarios.
  2. Use the app. The sidebar counts the calls as they're recorded.
  3. Press Stop & save and give it a name.
Rules screen with a scenario recording in progress: Recording, 5 calls, with Cancel and Stop and save buttons
Recording: every call the app makes is kept with its response.

Replay it

Press Replay next to the scenario. Lynkei answers those calls from the recording, as Mock rules named scn-<name>-N, so the app works with the server switched off. Press Stop to go back to the real server.

Traffic list during a replay: each call is answered by a Mock rule, shown by an M badge, and the rules list in the sidebar shows the scenario's Mock rules
During a replay each answered call carries a Mock badge, and the scenario's rules are listed in the sidebar.

With an agent

The same files are used by the MCP server: record_scenario, list_scenarios, replay_scenario, stop_scenario and delete_scenario.

Prompt
Replay the checkout-flow scenario in Lynkei, then open the app and check the order screen.

A session you share (File → Share Session…) can carry your scenarios, so a teammate can replay the same flow.