
End-to-End Testing Tools: Browser and API
End-to-end testing tools by layer: Playwright, Cypress and Selenium for the browser; Postman, REST Assured, Step CI and Stresseur for API flows.
- end-to-end-testing
- tools

Mustafa Bayramoglu builds Stresseur, the AI test engineer for APIs, and dev.tools, the open-source API testing tool. Before that he built Preflight, a Y Combinator company that automated UI testing.

End-to-end testing tools by layer: Playwright, Cypress and Selenium for the browser; Postman, REST Assured, Step CI and Stresseur for API flows.

Playwright API testing means writing each request by hand. A recorded flow is generated from real use. See where each fits and where Playwright wins.

Flaky tests pass and fail with no code change. Learn the four usual causes, how to find them, and which checks to move from the browser to API flows.

The main types of API testing are functional, integration, contract, load and security. What each one checks and which to write first.

How to choose an API testing framework: match it to your team's language, check how it runs in CI, and count what it costs to keep the tests current.

API smoke tests run on every pull request: pick the few flows that prove the API is alive, run only them in GitHub Actions, and fail the check on a bad step.

How to test an API in three moves: send one request and read the response, chain calls into a flow, then run the flow on every pull request.

REST API testing in six steps: send one request, check the status, headers and body, chain calls, test failures, then run it on every pull request.

API automation testing works best when you start with login and the money paths, then widen. Here is the order, what to skip, and how to run it on every PR.

Smoke test vs integration test: a smoke test checks the build works at all, an integration test checks connected parts work together. See when each runs.

Four integration testing examples for a REST API, each from request to assertion: create and read back, login token, bad input, and access control.

Regression testing vs unit testing: one names why you run a test, the other what it covers. How they overlap and where unit tests fall short.

Integration testing vs end-to-end testing: what each one covers, how they differ in scope, speed and failure causes, and when to write which.

What is integration testing? It checks that connected parts of an app work together. See the definition, the kinds, and a worked API example.

Load testing sends simulated traffic at an API to find where it slows or fails. See the test types, ramping vs arrival rate, thresholds and abort rules.

The testing pyramid explained: what unit, integration and end-to-end tests each do best, where API tests sit, and how many of each to write.

What end-to-end testing means, how it differs from unit and integration tests, why E2E suites get slow and flaky, and what to run in the browser vs the API.

2,189 agent-written unit tests and one API flow test, run against 8 ordinary bugs. Unit tests caught 5, the flow caught 6. Each missed what the other caught.

Two ordinary pull requests slowed login 8x and the product list 2x. Unit tests passed and your coding agent's review noticed. What a check adds.

Unit tests vs integration tests: what each one proves, what it misses, and what 8 real bugs showed when we ran 2,189 unit tests and one API flow.

What is Stresseur? The AI test engineer for APIs: it records real API usage, turns it into YAML tests, and runs them in CI on every pull request.

Catch breaking API changes in a pull request: diff the OpenAPI spec against the base branch with oasdiff in GitHub Actions and block the merge.

The best API contract testing tool for microservices depends on your stack. Pact, Spring Cloud Contract, Schemathesis and Dredd compared by what each checks.

Test an API without writing code: save requests with assertions, record real traffic, or generate tests from a spec, then see how each holds up.

How many virtual users to load test an API: work out the number from peak concurrency, then ramp load until latency or errors break to find the limit.

Run API tests on every pull request with GitHub Actions: the pull_request trigger, fork and secrets limits, required checks, and keeping the suite current.

Postman, Bruno, Step CI, Schemathesis, Keploy, k6 and Stresseur compared by what each does best, how it runs in CI, and what it costs.

Capture an authentication token from a login step, reuse it in every later request in a multi-step API flow, and test that an expired token gets rejected too.

Postman vs Step CI for running API tests in CI: interface, git-friendliness, protocol support and cost, and who each one suits.

Comparing k6 vs Loadmill for API load testing: Loadmill has pivoted to mobile test agents, so here is what k6 actually offers and who it suits.

AI-generated API tests are faster and broader; hand-written tests still lead on business logic and edge cases. Here is the tradeoff and how to combine both.

The best API load testing tool for a small engineering team is the one that runs today: k6, Locust, Artillery and Postman compared, plus where JMeter fits.

Kusho AI, Postman Agent Mode, Loadmill, Katalon and more, compared by how each actually generates API tests: from a spec, from traffic, or from a flow.

The concrete steps for turning an OpenAPI spec into tests, where schema-driven testing ends and contract testing begins.

API testing sends requests straight to an API and checks the response. What it is, the five types, multi-step flows, how to write tests and run them in CI.

The alternative to writing Postman collections by hand is generating them: from a spec, from recorded traffic, or from a flow. Here is what each path costs.

Keploy, Speedscale, WireMock and Hoverfly compared on the same criteria: where each one sits, what it installs, what it captures, and how it replays.

API tests go stale because they are hand-authored copies of a moving target. Four mechanisms keep API tests from going stale when the API changes.

Keploy vs Postman for AI-generated API tests, compared on input, output, mocking, CI and price, using only each vendor's own public documentation.

Load test an API with realistic user flows instead of single endpoints: the virtual user arithmetic, the ramp that finds the ceiling, and how to read the run.