Overview
This guide provides a step by step guide to creating an sandbox for testing your code. This involves automatic generation of tests and a mock server for a simple Go application using only the proxymock CLI.
Getting started in 30 seconds
- macOS
- Linux
- Other (Detailed)
Install with Homebrew:
brew install speedscale/tap/proxymock
Run the install script:
sh -c "$(curl -Lfs https://downloads.speedscale.com/proxymock/install-proxymock)"
For other operating systems and more detailed instructions, see the installation instructions.
Need another OS like Windows or are you having issues? See advanced installation.
What proxymock does for you
-
Observability into API and database payloads: Get an instant list of all calls going into and out of your app. proxymock records full-fidelity payloads without OpenTelemetry or other code changes.
-
Writes tests and mocks: Instantly create tests and mocks by recording inbound requests and outbound requests while your app runs.
-
Pair tester for your AI: Let your AI run its own realistic tests and isolation experiments so it can check its work and do more before interrupting you.
-
Replicates production environments: Instanly replicate a remote Kubernetes/ECS/VM environment to get real user requests, databases and other dependencies on your desktop.
Why you'll love it
-
Human and AI readable markdown format - Get full visibility into your app's inbound and outbound requests in a format that works for LLMs and humans. Once you have a full fidelity recording of how your app behaves you can start to understand how it works.
-
Works with APIs, databases and even gRPC - Record and playback a wide variety of protocols include HTTP, Postgres, gRPC, AWS services, GCP services and more. Instead of standing up a test environment for Postgres, just record off the network and create a Postgres simulation with exact data.
-
Terminal UI - proxymock ❤️ s both vim and GUI users. Navigate your traffic using a built in tui or view requests directly with an IDE.
-
MCP inegration - proxymock makes its tools available via MCP. Check out our YouTube channel for prompt ideas that let your LLM use proxymock to analyze bugs.
If you want to deploy any of these mocks or tests in the cloud or CI/CD, you can sign up for a free account here.