Content Deep Dive

Browser tests that know which API broke

Blog post from Speedscale

Post Details
Company
Date Published
Author
Matt LeRay
Word Count
1,037
Company Posts That Month
14
Language
English
Hacker News Points
-
Post removed?
No
Summary

Speedscale’s Browser Journeys feature combines existing Playwright browser tests with recorded production API traffic to help identify whether a failed UI test stems from the frontend, backend responses, or inconsistent test data. Rather than requiring separate HAR fixtures or manually maintained mocks, it runs Chromium with a responder that serves recorded API responses, applies matching and normalization rules for dynamic values, and links each API call or unmatched request to the Playwright step that triggered it. Tests can also run against live APIs, with response differences from the recording, such as changed status codes or JSON bodies, attributed to the relevant browser action. The approach is intended to complement rather than replace synthetic monitoring, which evaluates deployed systems, while browser journeys assess frontend behavior against known backend conditions. It can run locally, in Kubernetes, or in Speedscale’s cloud environment, and the development process highlighted the importance of reliable browser-step-to-API-call attribution after a comma-parsing bug initially disrupted recorded click labels.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 5 5,167 507 114 +18%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.