Skip to main content

Guides

This section contains how-to guides for practical uses of proxymock.

🔑 Fix Auth Errors on Replay

Expired bearer/OAuth tokens turn replays into a wall of 403s. Let proxymock detect the token handshake and generate a smart_replace blueprint that re-uses the freshly minted token on every protected request.

Replay Tuning

Measure HIT/MISS/PASSTHROUGH locally, inspect replay misses, and tune recordings or transforms until your mock set covers the traffic.

Mock Match Rate

Let an AI agent find why replayed requests miss their mocks and accept filter-scoped fixes until the match rate is 100%.

🔐 Basic Auth Credentials Swap

Replace recorded HTTP Basic auth credentials with replay-target credentials in one click. Includes the full S3 push/pull workflow for staging recordings across machines.

LLM Simulation

Record and mock LLM API calls from OpenAI, Anthropic, Gemini, and other providers. Eliminate AI spend in development and CI.

Datadog Synthetics

Export recorded proxymock traffic into Datadog Synthetics tests with automatic auth redaction and step chaining.

⚡ gRPC Support

Learn how to use proxymock with gRPC services. Record, replay, and mock gRPC calls with full protocol buffer support.

📋 OpenAPI Support

Learn how to use proxymock with OpenAPI specifications. Generate tests and mocks from your API schemas and validate responses.

🔧 Modify RRPairs

Learn how to modify and customize recorded request/response pairs. Transform data, update headers, and adapt traffic for different environments.