start_app_test
Start recording an app test run (one scenario execution).
Drive the app with desktop_* tools yourself; after each meaningful step call record_app_test_step — the server captures the VM screen at that moment as evidence. Close with finish_app_test.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_name": "<app_name>",
"scenario": "<scenario>"
},
"name": "start_app_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your OpenFactory MCP API key (optional) | |
| app_url | No | URL of the app under test as seen from the VM | |
| vm_name | No | Tester/desktop VM the test runs in (of-tester-* or of-desktop-*). Omit to auto-lease one from the app's tester VM pool — the response returns the leased vm_name (drive it with desktop_* tools) and a lease_token to pass to finish_app_test so the VM is released back to the pool. | |
| app_name | Yes | Stable app key, e.g. 'knostra' — history groups by this | |
| git_repo | No | App repo name/URL | |
| scenario | Yes | Stable scenario key, e.g. 'smoke-login' — the benchmark axis | |
| git_branch | No | App branch under test | |
| git_commit | No | App commit SHA under test | |
| record_video | No | Record a video of the whole run (also watchable live in the VNC console); per-step seek markers are added automatically. Fetch it via get_app_test_run(run_id).video_url after finish_app_test. | |
| public_report | No | Whether the standalone HTML report URL should be public. Default false keeps report, screenshot, and video artifacts private. | |
| session_token | No | Session token from a previous tool response (pass this to maintain session continuity) | |
| target_node_id | No | Logical VM node in that deployment; required when it has multiple machines | |
| idempotency_key | No | Choose a stable key before the first start, and reuse it with identical inputs after interruption to recover the same run. Requires an explicit vm_name; max 128 characters. | |
| parent_test_run_id | No | Exact deployment test run to include this supporting app test in |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||