run_app_test_group
Re-run a whole group of saved app-test scenarios in the background.
Returns immediately with a batch_id; the scenarios replay on the app's tester-VM pool (multiple in parallel, one per free pool VM), each isolated with a fresh browser tab. Poll get_app_test_group(batch_id) for live progress, or cancel_app_test_group(batch_id). One batch per user at a time.
Pass delay_hours (0-72) to defer the re-run up to 3 days: the call returns a 'scheduled' batch right away and the run fires automatically when its time arrives (durable across restarts). A scheduled batch does not block running other tests now, and cancel_app_test_group cancels it before it fires.
Starting a batch requires a registered OpenFactory user authenticated with an MCP API key. Anonymous guest sessions may not schedule batch work.
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": {
"scope": "<scope>"
},
"name": "run_app_test_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | What to re-run: 'all' (every saved scenario you own), 'project' (all scenarios in a project), or 'app' (all of one app's). | |
| api_key | No | MCP API key | |
| app_name | No | Required when scope='app' | |
| project_id | No | Required when scope='project' | |
| delay_hours | No | Defer the re-run by this many hours (0-72, up to 3 days). 0 = run now. The batch is scheduled durably and fires when its time arrives. | |
| on_behalf_of | No | Run the batch as THIS OpenFactory user (id or email) instead of the caller, so the scenarios replay on their tester-VM pool with their stored secrets (e.g. a staging protection-bypass token + app login). Only honored for the system agent or a super-admin. | |
| session_token | No | Session token |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||