--- title: Getting Started Proxying description: Start MockServer as an HTTP/HTTPS proxy, configure clients to send traffic through it, and analyse or verify recorded requests and responses. shortTitle: Getting Started layout: page pageOrder: 1 section: 'Proxy' subsection: true sitemap: priority: 0.9 changefreq: 'monthly' lastmod: 2019-11-10T08:00:00+01:00 ---

Note: this page is a high level overview of each topic, more detail is available for each topic on a linked page.

To use MockServer to analysis an existing system:

  1. Start MockServer
  2. Configure Clients
  3. Run Scenarios
  4. Analyse Behaviour

Mocking service dependencies with MockServer

To use MockServer to verify requests:

  1. Start MockServer
  2. Configure Clients
  3. Run Your Test Scenarios
  4. Verify Requests

Mocking service dependencies with MockServer

For example code see the code examples folder in the git repository.

Inspecting AI agent traffic? If you want to see the HTTPS calls that Claude Code, OpenCode, or Python AI libraries send to LLM APIs and MCP servers, see Inspect AI Agent Traffic. It covers proxy setup, CA trust, and per-tool configuration for AI tools.

 

0. Start MockServer

{% include_subpage ../mock_server/_includes/running_mock_server_summary.html %}  

1. Configure Clients

The page on configuring clients gives full details on how to configure clients to proxy requests via MockServer and includes code examples for the following clients:

 

3. Analysing Behaviour

{% include_subpage _includes/analysing_behaviour.html %}

3. Verify Requests

{% include_subpage ../mock_server/_includes/verification_summary.html %}