Checkpoint holds traffic before Marasi sends it on. While an item waits, you can read it, change it, and then forward it or drop it.

Checkpoint with five held requests from two hosts

The list on the left shows every held item, grouped by host. The editor on the right shows the item that you select.

Hold all traffic

Turn on Intercept all. Checkpoint now holds every request and every response.

Turn it off when you are done. Items that are already held stay in the list until you forward or drop them.

Hold only some traffic

To hold only the traffic that you care about, write a rule. A rule is a Lua function. When it returns true, Checkpoint holds the item.

This rule holds every POST request:

function interceptRequest(request)
	return request:method() == "POST"
end
  1. Click Rules.
  2. Write or change the rule.
  3. Open the Marasi menu and select Update Rules.

New traffic now follows the rule.

Forward, change, or drop an item

  1. Select an item in the list.
  2. If you want to change it, edit the text in the editor. Your change must be valid HTTP.
  3. Click one of the actions:
    • Forward sends the item on.
    • Forward + intercept response sends the request and also holds its response.
    • Drop stops the item. It does not reach the client or the server.

To act on many items at once, select them in the list, then click Forward or Drop above the list.

Messages in a connection

Checkpoint can also hold WebSocket messages and the messages of gRPC and other streams. Work with WebSockets, gRPC, and streams shows how.

Next step

Replay requests with Launchpad.