{"service":"bstackdemo realtime SUT","websocket":{"/echo":"Accepts the upgrade and echoes every frame. Pings get a pong.","/hold?ms=N":"Closes N ms after the 101 (code from ?code=, default 1000).","/close?code=C":"Closes with code C right away, or after ?ms=.","/drop":"Kills the TCP connection with no close frame (1006 / \"none\"); ?ms= delays it, ?rst=0 sends FIN instead of RST.","/push?n=N":"Sends N extra messages after the 101 (?pushIntervalMs= spaces them).","/reject?status=S":"Refuses the upgrade with HTTP S (400-599, default 403)."},"knobs":{"upgradeDelayMs":"Wait this long before answering the upgrade (sets the connect-time floor).","pongDelayMs":"Wait this long before answering each ping (sets the ping floor).","ms":"Time after the 101 at which the server closes (or drops).","code":"Close code for that close (1000-1003, 1007-1014, 3000-4999).","n":"Extra messages to push after the 101.","pushIntervalMs":"Gap between pushed messages.","echo":"Set 0 to stop echoing client frames.","run":"Run id the connection is counted under in /stats.","headers":"Every knob also works as an x-sut-* header (x-sut-upgrade-delay-ms, x-sut-ms, x-sut-code, ...), which wins over the query. Use headers to vary a knob while keeping one URL."},"graphql":{"POST|GET /graphql":"GraphQL over HTTP (spec-compliant). Query echo, delay(ms), items(count, bytes), fail(code, message), node { child ... }; Mutation createItem(name, delayMs).","POST|GET /graphql-nointrospect":"Same schema with introspection disabled (a validation error).","WS /graphql":"Subscriptions over graphql-transport-ws: ticks(count, intervalMs).","knobs":"delayMs (wait before handling), status (answer with HTTP 400-599 without executing), run — query params or x-sut-delay-ms / x-sut-status / x-sut-run headers."},"http":{"GET /http/<status>":"Plain HTTP response with that status (200-599); ?delayMs= delays it.","GET /stats?run=<id>":"Server-side counts for a run (no run: list of run ids).","POST /reset?run=<id>":"Clears one run (no run: clears all).","GET /healthz":"Liveness."}}