Skip to content

Guides ​

Each guide works through one task from start to end, with code you can run. The sections on HTTP, gRPC and each feature say what each part does; the guides show the parts together.

GuideWhat you build
Testing a REST clientTests of a Go client of a users API: the happy path, an error answer, and what the client sent.
Mock files and the CLIMock files with editor support, served by the vlatte command and loaded by Go tests.
Record and replayMock files recorded from a real API once and replayed in every later run.
Chaos testingTests that a client retries a failing server, survives a reset connection, and gives up on a slow one.
Stateful flowsA cart and checkout flow whose answers depend on what came before, tested in parallel.
Testing a gRPC streaming clientTests of a client of a server stream, through errors and a server that dies midway.
Docker Composevlatte next to an app under test, with mocks changed over the admin API.
Testing webhooksA payment API that calls your service back, and a test that the callback came.
HTTPS and mTLS mocksTests of a client of an HTTPS-only API, with mutual TLS, and the CLI serving the same mock.
Testing an LLM streaming clientTests of a client of a chat API that streams its answers, through a dropped stream and a rate limit.
Mocking a remote MCP serverMock files that play an MCP server over Streamable HTTP, and a test of an MCP client against them.