Back to Agent Zero

WebSocket Test Harness

webui/components/settings/developer/websocket-tester.html

1.131.0 KB
Original Source

WebSocket Developer Harness

Run automated and manual validations for the WebSocket client. Automatic tests cover fire-and-forget emit, request/response, timeout handling, subscription persistence, and requestAll aggregation.

Automatic Validation Suite

Run Full SuiteRunning...

Executes all WebSocket feature tests sequentially. Progress and results appear in the log below and via toasts (5s).

Manual Tests

Fire-and-forget emitRequest/ResponseRequest timeoutSubscription persistencerequestAll aggregationState sync (no poll when healthy)Context switchingFallback + recovery (DEGRADED)Resync triggers (runtime_epoch/seq gap)Broadcast demo

Manual tests trigger individual scenarios and show toast results. Open a second browser tab for requestAll/broadcast demos to observe multi-connection behaviour.

Log Output

Clear

Last Aggregated Results

Recent Broadcast Payloads

  • :

WebSocket Developer Harness

The WebSocket test harness is available only when Agent Zero runs in development mode.