Guide
How to use Stampdrill
Every section shows the same three things: what to write in a .stamp file, the command that runs it, and where it lives in the Mac app. The language reference is the exhaustive one; this is about getting things done.
Two things read the same files: stamp, the free command line tool, and Stampdrill, the Mac app on the App Store. Almost every section covers both, and the switch further down hides the half you do not use.
Start here
- Send your first requestFive minutes, nothing installed but the app or the free command.
- Keep requests in a workspaceA folder of text files, which is all a workspace is.
- Write a requestThe shape of one, and the checks that run when the answer arrives.
After those three, the rest can be read in any order.
Everything, by topic
Reading for one side only? The guide hides the other.
Start
- WorkspacesA workspace is a folder on your disk. Every .stamp file under it holds requests, and an environment.stamp at the root holds the values those requests share.
- RequestsA request is a method, an address, and what you expect back. One file holds as many as you like, each started by a line beginning with ### .
- Bringing collections inA collection you already have becomes .stamp files in one step. Postman, Insomnia, Bruno, a HAR file, curl commands and OpenAPI documents all come in the same way…
Values and access
- Variables and dimensionsA variable holds something a request borrows: a host, a page size, a user name.
- SecretsA workspace is text in a git repository, so a password written into it is a password in the repository.
- AuthenticationOne @auth line says how a request proves who it is, and Stampdrill builds the header.
Responses
- Scripts and assertionsA script is what turns a request into a test. The lines after a request that begin with > run the moment the response arrives: they check what came back, and they…
- Reading the responseEverything that came back sits in the lower half of the window: five tabs and a row of buttons under the body.
Testing
- Test plansA plan runs several requests in order and checks what comes back between them.
- Load testsA load test runs one scenario over and over, with many virtual users at once, and thresholds decide whether the run passed.
- Race conditionsSome bugs only appear when two requests arrive at the same instant: the coupon redeemed twice, the last seat sold to two people, one balance debited twice.
Beyond HTTP
- WebSockets, GraphQL and WebRTCNot every API is one request and one answer. Four more methods live in the same files as the rest, with the same variables, directives and assertions: WS for a…
- MCP serversAn MCP request connects to a Model Context Protocol server the way an agent's client would: it does the handshake, lists what the server offers, and then runs your…
Agents and data
- Working with an AI agentBecause requests are text files in your repository, an agent can write them with the same tools it uses for code.
- Sample data that holds togetherA request body usually needs a name, an email and a price that look like the real thing, and the next request needs the same customer the first one created.
Day to day
- Running in CIA workspace needs nothing installed to run in a pipeline: one static binary, the files already in the repository, and an exit code.
- ReportsA run can write a file on its way past: one for the build server, one for a script of yours, one to look at.
- The app, in shortcutsEverything the app does is in a menu, and the ones worth learning have a key.