Microkoi Bench 0.9.6: a beta for debugging app traffic
To see what an app sent to the server, you open a proxy. To repeat the request, an API client. To return a different response, a third program, and the conclusions go into a fourth. Microkoi Bench brings all of this into one window and keeps the project as a regular folder. Beta 0.9.6 runs on macOS, Windows and Linux, free and without sign-up. In it, one set of monitors checks several stands at once, monitors move between workspaces as an archive, and JSON sent as a string reads like regular JSON.
Four programs that don’t know about each other
A recorded request lives in the proxy. To send it again, you copy it into an API client and paste the token in by hand. A mock for the same endpoint is built in a third place, from memory. The conclusions stay in a chat.
Every hand-off is manual work and a chance for a mistake. And a teammate who needs the same thing starts from scratch.
A recorded exchange is where the work starts
In Bench, an exchange from the “Traffic” list doesn’t need to be moved anywhere. Its exchange panel has buttons:
| Button | What you get |
|---|---|
| “To Requests” | A copy of the request in the client: edit it and send it again |
| “Create mock” | A mock response for the same method, host and path |
| “Breakpoint” | A breakpoint: edit the request or response before it goes further |
| “Monitoring” | A regular check of the endpoint |
| “cURL” | A command to repeat the request in a terminal or attach it to a ticket |
From the endpoint tree, a whole branch becomes a request collection or a mock server on its own port. Bench offers to move a repeated server address and tokens into environment variables.
What’s in the beta
- HTTP and HTTPS, including HTTP/2, from a computer, phone, emulator or simulator. WebSocket messages with JSON highlighting.
- The response “Model” and the endpoint contract: Bench flags a field that changed type, disappeared or appeared. Comparing two exchanges and two hosts.
- API client: collections, environments with variables, import of OpenAPI 3, Swagger 2, Postman collections and cURL commands.
- Request chains: a multi-step user flow, variables from responses, sign-in with token refresh. A chain can also be built from recorded traffic.
- Mocks, cases and mock servers: a test API on its own port, from recorded traffic or from scratch. The
bench-program serves the same responses in autotests and CI.mocks - Chaos: delays, server errors, dropped connections and a slow network for the requests you choose, with repeatable runs.
- Monitoring of endpoints and chains while the app is open: check history, the “Unstable” status, “Analytics” and a report for the backend team.
- API certificate checks on older Android and iOS versions.
- Markdown notes with links to collection requests.
What’s new: stands, archives, repeat on a condition
- Monitor stands. A monitor folder gets stands: “⋯” → “Folder…” → “Stands”. Every monitor in the folder is checked on each of them, and the status line covers them all at once: “Down on Stage”.
- Differences between stands. If a stand responds with a different model than the reference, a “Stand models differ” bar appears. “Open both responses” puts the responses side by side.
- Moving monitors as an archive. “Export archive…” packs monitors, chains and certificate checks into one ZIP, and secret values stay out of it. “Import archive…” shows conflicts up front.
- Repeat a step on a condition. “Repeat” → “While the response…” repeats a step while, for example, progress equals
in_progress, then checks the outcome right away. - Per-step values. “Change for this step” sends a collection request with different parameters, headers or body fields. One request can appear in a chain several times.
- JSON inside a string. A gray tilde
~in the first column of “Traffic” marks a response with JSON as a string inside a field, “Expand JSON in strings” shows it formatted, and the contract, exchange comparison and monitors notice changes inside it. - “Show only” in “Traffic” “Filters”: “Mocks”, “Chaos”, “Model changed”, “JSON in string”. The old chaos filter is now part of this group, and “Without chaos” removes exchanges hit by chaos.
- Marks and folding in every JSON response. A field that differs from the contract is highlighted yellow, and arrays and objects of any JSON body collapse with the arrow left of the field.
- Variable highlighting and suggestions.
{{…}}in a request and a chain step is highlighted, a variable that isn’t set in red. Typing{{opens the “Variables” list. - The request list hides with the “Hide request list” button at the start of the tab bar, and the choice is remembered.
- A notification remembers its workspace: from another workspace it offers “Open workspace” for the folder it came from.
- Certificate checks run on their own: the “Check automatically” field, every day at 09:00 for a new check, while Bench is open.
- The “Find monitor” field finds a monitor by name, URL, chain or stand.
Earlier Bench versions don’t know the “While the response…” repeat or per-step values: if they save such a chain, they silently drop them. Update Bench for everyone who works with a shared workspace.
A project is a regular folder
Collections, chains, environments, mocks, mock servers, monitors and notes are files in the workspace folder. Put it in git, and a teammate gets the same set with git. A change to a mock becomes a regular commit that shows up in code review.
Recorded traffic doesn’t go into git. It’s kept in the workspace’s internal database on your computer and cleans itself up: after 14 days by default.
Your data stays with you
Traffic, requests, mocks and notes are stored on your computer and aren’t sent to us. There’s no cloud and no account.
A beta build works for 14 days
The period counts from the build date, not the install date. The end date is in “Settings” → “About” → “Beta build expires”. After it, Bench still opens recorded traffic, collections, mocks and notes, but doesn’t start the proxy or mock servers, send requests or run monitors.
This way, nobody is left with a build full of bugs that are already fixed: after 14 days, you need a fresh one. It appears on the Bench download page. Install it over the old one: workspaces and settings are kept.
How to start
Which file to download, how to open the unsigned beta and install the certificate is in “How to install Microkoi Bench on macOS, Windows and Linux”.
To connect a phone, follow “How to inspect your app’s HTTPS traffic on iPhone and Android”.
Repeating a step on a condition is covered in “Async API: how to test a status that doesn’t change right away”.
The beta is here to find what we missed. Write to beta@microkoi.com: what’s missing, what gets in the way and what broke. Include your system and the Bench version from “Settings” → “About”. We read every email.