Skip to content

Mocks

Mock rules return a configured response from the local mock/response server. Mocks never contact upstream.

  • Configured status code.
  • Configured headers.
  • Optional delay.
  • Either an inline body or a live UTF-8 snapshot of one approved local file.
  • Mocks require the native runtime. The extension performs the one-time mock.connect handshake when you click Start runtime. Without the runtime, mocks report unsupported.
  • Its status represents the last activation check, not continuous monitoring.
  • The mock/response server binds only 127.0.0.1, pairs through a random capability and preset digest, authorizes the exact rule, confines file access, and enforces SSRF, DNS-rebinding, redirect, credential, method, timeout, and size controls. It is never a general forward proxy or file server.