Skip to content
Mittelware

Features

Everything between your app and the internet

Mittelware sits in the middle of the conversation, so you can see it, change it and break it on purpose, without touching the app or the server. Here is what that looks like.

Observe

Watch every request as it happens

The Flows page is a live feed of everything your apps send and receive. Each row is one request paired with its response, so you can see at a glance what succeeded, what failed and what was slow.

  • Method, URL, status, duration and size for every request, with timing and size bars for quick comparison
  • Search by URL, filter by application, or switch between All, Paused and Intercepted
  • Open a request to read General, Headers, Payload and Response in a side pane
  • JSON, XML and HTML responses are formatted for reading, with a tree view, copy and expand
  • Streaming responses, such as AI chat answers and event feeds, are followed live in a Stream view: every chunk with its arrival time, and how the stream ended
  • WebSockets are followed live too: every message in both directions, with its time and size, JSON laid out and binary shown as a hex dump
Getting started

Observe

See which application is talking

A busy machine sends traffic from dozens of programs. Mittelware tags each request with the application that made it, so you can cut the noise down to the one app you care about, and aim rules at it alone.

  • The originating application's name and icon on every row
  • Filter the Flows list by app, and scope each rule to the apps you choose
  • The Applications page relaunches Chrome, Edge, Brave, Arc, Opera, Vivaldi, VS Code, Postman, Insomnia and Slack through the proxy in one click
  • For curl, wget and HTTPie it copies a ready-made command with the proxy address filled in
Opening apps through Mittelware

Observe

See what your phone is really sending

Mittelware can also listen for other devices on your network, so you can inspect a mobile app or site as it runs on a real phone, and aim rules at it. It is off until you turn it on, and it only accepts devices on private networks.

  • Turn it on in Settings: a second listener opens with no restart, and nothing you opened from Mittelware is closed
  • A QR code opens a setup page on the device, with the certificate for iPhone, Android, Mac or Windows
  • The Connect a device panel ticks each step as it sees the device do it: page opened, certificate downloaded, connected
  • Set the device's Wi-Fi proxy with one automatic address, which keeps the device online when Mittelware is closed, or with a server and a port
  • Requests appear in Flows with a phone icon and the device's name, and a rule can target Network device
Phones and other devices

Control

Describe the traffic, not the code

A rule has two halves. When… says which requests it cares about, and Then… says what to do. Conditions can look at the request or at the response that came back, and a rule takes effect on the very next matching request.

  • Match on the URL (or just its domain, path, port or scheme), HTTP method, headers, query parameters and body
  • React to the response too: status code, response headers and response body
  • Operators include contains, is, starts with, ends with, matches regex, is one of, and numeric comparisons
  • Rules are checked in the order shown, can be scoped to apps, and switched on and off without deleting them. Even a single action, or one header row, can be switched off
  • Build conditions from a real request: paste a copied cURL command, tick the parts that matter
  • Export rules to a file and import them again, to share a library with a team or keep a backup
  • WebSocket rules act on single messages: match on direction, type, text or size, then modify, drop, delay, hold or close
Rules

Control

Start from a rule that is mostly written

Instead of an empty form, pick "make this API answer 502" or "fake an OpenAI stream", fill in the one or two things only you know, usually a domain, and save. A template is only a starting point: it opens in the same rule form as any rule you make by hand.

  • On the Rules page, Create Rule is a menu: From template opens the panel, From scratch opens the blank form as before
  • 35 templates in four sections, API testing, Streaming, WebSocket and Services, with a search box to narrow the cards
  • API testing covers failures, slow responses, mocks and edits: a 502, a 429, an expired token, a request that times out, a local build served in place of a deployed one
  • Streaming templates fake an OpenAI or Anthropic chat reply or an event feed; WebSocket ones slow down, edit, drop or cut messages; Services has the well-known errors of popular APIs and blocks for trackers
  • A blank the rule can't work without, usually the domain, shows in orange until you fill it in; some templates need nothing at all
  • A What will this rule do? box says in plain words when the rule matches and what it does, and follows every edit
  • It opens in the real rule form, so you can add a condition or swap the action. Nothing is saved until you press Use this template, and what you save is an ordinary rule
Rule templates
The Start from a template panel with Server error (502) picked. A narrow column of template cards on the left, and on the right the rule form with the Domain value box in orange and a What will this rule do? box under it.

Control

Keep a growing set of rules tidy

One collection for the checkout flow you are testing, one for mocks, one for the staging setup you need on Mondays. Each collection has a switch of its own, so a whole group can be turned off, or back on, without touching the rules inside it.

  • A panel beside the rules list shows each collection with its rule count, and picking one shows just its rules
  • A collection's switch turns all its rules off or on, and a rule that was switched off by itself stays off when the collection comes back
  • Collections are tried newest first, then each one's rules in order, so a newer collection wins when two have a rule for one request
  • Move ticked rules, or one rule from its menu, to another collection; deleting a collection moves its rules to Uncategorized, never deleting them
  • Export a whole collection to a file, and importing it elsewhere recreates it
Collections

Control

Make things go wrong, on demand

Error handling is the least tested part of most apps because errors are hard to cause. Block rules make a request fail exactly how and when you want, without touching the server or the client.

  • Block Request stops the request before it reaches the server, so nothing happens on the other side
  • Block Response lets the request through but keeps the answer from reaching the app
  • Answer with 401, 403, 404, 410, 429 or 502, or choose Timeout and send nothing at all
  • A Delay on any rule waits before it acts, so you can simulate slow and flaky networks
Test timeouts and slow responses

Control

Change what goes out and what comes back

Rewrite a request before it is sent, or rewrite the response before your app sees it. Replace a response completely and you have a mock, with no mock server to run or keep in sync.

  • Modify Request: URL (including a different host), method, headers, query parameters and body
  • Bodies can be form-data, URL-encoded, raw text or a file from disk
  • Modify Response: status, headers and body, each optional. Answer instead of the server, so it is never contacted, or change the real response and let the rest pass through untouched
  • Serve a whole folder from your computer in place of a deployed one, for any URL path you choose
  • Find and replace inside the server's real page or script: swap a script address, hide a banner, with regular expressions and several replacements in order
  • Proxy to different endpoint fetches the answer from another URL when the real response matches
  • Stream a response: answer with text sent piece by piece, in plain, Server-Sent Events, OpenAI or Anthropic format, at the pace you choose
  • No CORS errors while you test: preflights are answered for you and every response, including Mittelware's own 502s and Block answers, is made readable by the page. On by default; a rule can still set any header
Mock an API before it exists

Control

A whole fake backend, on a port of its own

A mock server is a small fake API that runs inside Mittelware, on a port such as 4010, and answers with the responses you wrote. Your app calls it like any other server, so it keeps working when the real API doesn't exist yet, is down, is slow or costs money each time you call it.

  • HTTP routes with parts that change, such as /products/{id}, each holding cases: when a request looks like this, answer like that. The first case that matches answers
  • A case sets the status, headers, delay and body, so a 503 or a slow answer is one case away
  • WebSocket routes on the same port send messages when a client connects, answer each message it sends and close the connection on cue
  • Streamed answers: a body sent in pieces, word by word like an AI chat API, in plain chunks, Server-Sent Events, OpenAI or Anthropic format, at the pace you choose
  • A Connected clients view lists every WebSocket client live with what was said, and lets you send it a message or disconnect it
  • Import OpenAPI turns an OpenAPI or Swagger spec, in JSON or YAML, into a server with a route for each path and an answer for each documented response
  • Save and the very next request gets the new answer, with nothing to restart
  • It needs no monitoring switched on: your app calls it directly, so its requests don't appear in Flows
Mock servers
The Connected clients panel of a mock server's WebSocket route. Cards for each connected and ended client, and one client's conversation with received messages in green, sent ones in blue, a message box and Send and Disconnect buttons.

Control

A breakpoint for the network

Sometimes you don't want a rule, you want to look at one request and change one thing. A Pause rule freezes matching requests before they are sent, and hands you an editor.

  • Paused requests wait in their own tab until you decide
  • Edit the method, URL, headers and body, then forward it
  • Or drop it, and it never leaves your machine
  • Works on a single WebSocket message too: hold it, change its text, then pass it on or drop it
  • Needs no setup beyond the conditions that say what to pause
Pause and edit a request by hand

Control

Rules that react to the request

Static values only go so far. Template variables pull pieces out of the live request or response, so a single rule can handle thousands of different URLs.

  • Request variables: URL, scheme, domain, port, path, method, body, any header, any query parameter
  • Response variables: status, body and any header, wherever a response exists
  • Capture groups from a regex condition can be dropped straight into the action
  • Your own variables with {{vars.name}}, such as a token or a tenant
  • Type {{ for suggestions; unknown or unavailable variables are caught when you save
Template variables reference

Control

Set it once, use it everywhere

Variables are named values you keep on a page of their own. Change one and every rule that reads it uses the new value on the very next request. Rules can also write variables from the traffic they see, so one request can feed the next.

  • Add a variable, hide its value in the list if it is a token, and read it anywhere as {{vars.name}}
  • An edit applies to the next request: no rule to open or save again
  • Finally rows keep a header or part of a request or response in a variable once a rule has acted
  • A No change rule watches traffic without touching it, just to keep a value
  • Variables stay on your computer and are not written into exported rule files
Variables

Find out what your apps are really sending.

Install Mittelware, flip one switch, and watch the traffic roll in.