Skip to main content

Browser and WebSocket

Choose the workflow by what you want to verify. You can start on your machine with proxymock and use the same recordings in a Speedscale Cloud replay on a registered Kubernetes cluster.

I want toOn my machine with proxymockIn Kubernetes or Speedscale Cloud
Verify what a user can do in the UI, with recorded or live API responsesRecord or write a Playwright journey, then run proxymock replay --browser.Start a browser replay with the Kubernetes CLI path, the Cloud CLI path, or the dashboard. Inspect steps, API calls, web vitals, and failure artifacts.
Capture the network calls a browser makes so I can inspect or mock themRoute a browser through proxymock record, then serve the recording with proxymock mock.Record a browser journey locally and push the recording and journey to Cloud when you want to reuse them from a snapshot.
Check a WebSocket service for message regressions or behavior under loadRecord an inbound session, then use proxymock replay against the service. To stand in for a downstream socket, record the outbound session and run proxymock mock.Capture a session into a snapshot, then run a regression or load replay from the dashboard. Use the responder when a workload needs a recorded WebSocket dependency.

Choose a guide​

What browser journeys can do​

TaskWhat you getRead more
Write journeysRecord a journey with proxymock record --browser, explore a recorded user session into a spec, or describe a journey in plain language with proxymock journeys create.Write journeys, Explore and heal journeys
Sign inStorage state, fresh tokens per run, several roles and users, authenticator codes, passkeys, and single sign-on.Start signed in
Isolate the frontendAnswer the frontend's API calls from the recording, including calls to its own origin, or send them to the real APIs and name the calls that changed.Mocks and real APIs
Run anywhereYour machine, a cluster from your kubeconfig, a registered cluster through Speedscale Cloud, the dashboard, CI, preview deployments, and coding agents over MCP.Where journeys run
Cover more browsersYour own playwright.config, Chromium, Firefox and WebKit, devices, retries, video, and sharding across CI jobs.Playwright config and run settings
Check more than clicksWeb vitals goals, screenshot and ARIA snapshot baselines, and axe accessibility scans.Screenshots and ARIA snapshots, Accessibility scans
Find the causeEach step tied to the API calls it made, the likely cause of a failure, screenshots, videos, and traces in Playwright's trace viewer.Read the results
Keep journeys healthyPass history, flaky detection and quarantine, locator heal with a pull request, model-assisted recovery during a run, and screenshot review in a pull request.Run journeys on your machine, Explore and heal journeys

What WebSocket testing can do​

TaskWhat you getRead more
CaptureThe upgrade and every text, binary, and control message in both directions, linked to its connection.How Speedscale captures WebSocket traffic
Regression testA fresh handshake per virtual user, recorded client messages sent in order, and each live server message compared with the recording.Replaying WebSocket sessions
Load testMany virtual users, each with its own connections, through proxymock or a Speedscale Cloud load config.Load testing
Mock a dependencyThe responder accepts the client's upgrade, checks its messages, and sends the recorded server messages, including pushes.Mocking WebSocket endpoints

Playwright journeys check what the browser renders and how it behaves. WebSocket traffic replays check the upgrade and message exchange against a service. Start with the corresponding workflow, then add the other when you need both kinds of evidence.

Loading search...