Topic

testing

2 min read

A 200 is not done: make the AI walk the business scenario

The create call returned 200, the detail view 404s, and cancel accepts an illegal state. Scenario tests chain real calls, pass data between steps, and hand the agent evidence to fix with.

Read article
4 min read

Scenario testing for REST APIs: writing user-journey tests from OpenAPI

A folder of requests that each return 200 is not a test suite. A scenario chains requests the way a user walks the product: create, capture, poll, act, assert. Here is how to derive scenarios from an OpenAPI spec and run them against mock then staging.

Read article
2 min read

The backend was three weeks late. We shipped the frontend anyway.

A concrete sprint diary: one OpenAPI file drove a local mock with latency and error overrides, a four-step checkout scenario with an HTML report, live docs, derived database tables and a hosted MCP endpoint while the real API did not exist yet.

Read article
4 min read

How to test Server-Sent Events endpoints: curl, Postman, and spec-driven SSE testing

SSE looks like HTTP until you try to test it: the connection stays open, events have names and ids, heartbeats hide disconnects, and ordinary API clients hang. Here is how to test streams with curl, what Postman does and does not do, and how to make SSE scenarios repeatable from an OpenAPI spec.

Read article