
Toxiproxy Review
- MIT license
- Free to use forever
- A TCP proxy, not a platform
- Single Go binary
- Maintained by Shopify
- No licensing costs
- No paid tier or subscription
- HTTP API and CLI control
- Clients in many languages
- Created in 2014
- Built and maintained by Shopify
- Used in Shopify dev and test since 2014
- 12,000+ GitHub stars
Overview
Toxiproxy is an open-source TCP proxy that simulates network and system conditions for chaos and resilience testing. It was created by Shopify, which has used it across all development and test environments since October 2014, and is written in Go under the MIT license. The current generation is the 2.x line, with version 2.12.0 published in March 2025, and the repository is actively maintained.
Toxiproxy has two parts: a proxy server written in Go and HTTP clients in many languages. The server exposes an HTTP control API on port 8474. Teams create proxies, each sitting between a client and an upstream service with a listen address and an upstream address, then add toxics to a proxy to degrade the connection. Everything is configured at runtime, which makes it ideal for deterministic tampering inside tests.
Toxiproxy is for developers and teams who want repeatable network-condition simulation inside integration and CI tests, validating application resilience to latency, drops, timeouts, and bandwidth limits between services and their dependencies. It is a network and TCP-level tool rather than a full chaos platform, so it does not inject resource, process, or pod faults. Buyers should note that it is primarily a development and test tool not recommended for production, has no dashboard or orchestration, and requires routing application traffic through the proxy.
Key Featuresโ
TCP Proxy with Toxicsโ
Each proxy sits between a client and an upstream service, and toxics added to it degrade the connection. This injects network faults at the TCP level.
Latency and Bandwidthโ
The latency toxic adds delay with optional jitter, and the bandwidth toxic limits throughput in kilobytes per second. These simulate slow networks.
Timeouts and Resetsโ
The timeout toxic stops all data and can hold or close the connection, and the reset_peer toxic simulates a TCP reset. These reproduce broken connections.
Slicer and Limit Dataโ
The slicer toxic splits TCP data into small pieces with delays, and limit_data closes the connection after a byte threshold. These exercise partial and truncated transfers.
Directional and Probabilisticโ
Every toxic applies to the upstream or downstream stream, and a toxicity value applies it to a fraction of connections. This models realistic, partial failures.
HTTP API and CLIโ
A proxy and its toxics are controlled through the HTTP API on port 8474 or the toxiproxy-cli. This makes faults easy to script in tests.
Runtime Configurationโ
Proxies are populated from a JSON config, the idempotent populate endpoint, the CLI, or client libraries. This sets up deterministic test conditions.
Best Selling Pointsโ
- Deterministic, repeatable network-condition simulation for tests.
- A focused set of TCP toxics covering latency, bandwidth, timeouts, and resets.
- HTTP API and CLI control that scripts cleanly in CI.
- Client libraries across many languages.
- A single Go binary that runs anywhere, with Docker images.
- Free and open source under the MIT license, proven at Shopify.
Supported Integrationsโ
Toxiproxy integrates through client libraries, containers, and chaos tooling that builds on it.
Connect Toxiproxy through clients, containers, and chaos tooling.
- HTTP API
- toxiproxy-cli
- Docker
- CI pipelines
- Testcontainers
- Chaos Toolkit
Official Clients
- Go
- Ruby
Community Clients
- Python
- Node.js
- Java
- .NET
- PHP
- Elixir
- Rust
- Haskell
Tooling
- Docker images
- Testcontainers module
- chaostoolkit-toxiproxy
- CI pipelines
Tested Dependencies
- Redis
- MySQL
- HTTP APIs
- Caches and queues
Adoptersโ
Toxiproxy is a free Shopify project used widely in development and test suites across the industry.
- Shopify
- Development and test teams
- CI pipeline users
- Microservices teams
- Database and cache testing
- Resilience-testing community
- Testcontainers users
- Chaos Toolkit users
Adoption & Usage Statisticsโ
- 12,000+ GitHub stars
- ~501 forks
- ~80+ contributors
- 2.12.0 current release as of March 2025
- 2014 repository created
- Clients in more than 10 languages
Note: Toxiproxy is adopted within the development community rather than rated on commercial review sites, and metrics are from the GitHub repository.
Supported Platformsโ
Toxiproxy is a single Go binary that runs cross-platform, between an app and its upstream services.
Toxiproxy runs as a single Go binary across operating systems.
- Linux
- macOS
- Windows
- Go binary
- Docker
- TCP services
- Operating systems: Linux with binaries and a Debian package, macOS via Homebrew, and Windows.
- Distribution: a single Go binary, plus Docker images on GitHub Container Registry.
- Scope: any TCP service, with the proxy sitting between a client and an upstream.
- Kubernetes: not Kubernetes-native, though it can run in a pod or sidecar.
Reportingโ
Toxiproxy is controlled and inspected through its API and CLI rather than a reporting dashboard.
Toxiproxy exposes state through its HTTP API and CLI rather than reports.
Result Outputs
Proxy and toxic state is inspected through the API and CLI.
- HTTP APIProxy and toxic state as JSON
- CLI Outputtoxiproxy-cli list and inspect
- Config JSONProxy definitions in config files
- Server LogsProxy server logs
- The HTTP API returns proxy and toxic state as JSON.
- toxiproxy-cli lists and inspects proxies and toxics.
- Config JSON defines proxies for repeatable setup.
- Server logs record proxy activity.
Ecosystem & Extensionsโ
Toxiproxy is a focused building block reused by test frameworks and chaos tooling.
- Client libraries in Go, Ruby, Python, Node.js, Java, .NET, and more drive it from tests.
- The Testcontainers Toxiproxy module spins it up inside integration tests.
- chaostoolkit-toxiproxy exposes Toxiproxy as actions and probes in Chaos Toolkit.
- Docker images package the server for CI and local use.
Releases and Maintenanceโ
- Current release: Toxiproxy 2.12.0, published in March 2025, on the 2.x line.
- Cadence: roughly one to three releases per year, with a mature and stable posture.
- Maintenance: actively maintained by Shopify, with ongoing repository activity.
- History: the repository was created in 2014, and Shopify has used it in dev and test since then.
Pricingโ
- Toxiproxy is free and open source under the MIT license, with no paid tier or subscription.
- It is installed as a single Go binary, via package managers, or through Docker.
- There is no commercial or managed edition.
Awards & Recognitionโ
- Toxiproxy is recognized as a widely used network fault-injection tool.
- It is referenced across chaos engineering tool comparisons and awesome lists.
- It is a common building block within larger test and chaos tooling.
- Recognition is adoption and community driven rather than through formal awards.
Limitationsโ
- It is TCP and network-level only, not a full chaos platform with resource or pod faults.
- It is primarily a development and test tool, and is not recommended for production.
- It has no dashboard or UI, with control through the API and CLI only.
- It has no experiment orchestration, scheduling, or auto-halt, so a toxic runs until removed.
- Applications must be configured to route through the proxy, with care to avoid port conflicts.
- Some data stores such as MySQL need configuration to use the TCP port rather than a socket.
Best Fit Scenariosโ
- Developers wanting deterministic, repeatable network-condition simulation in tests.
- Teams validating resilience to latency, drops, timeouts, and bandwidth limits.
- Integration and CI suites that test behavior against flaky dependencies.
- Microservices teams testing connections to databases, caches, and APIs.
- Projects that want a lightweight, single-binary network fault tool.
- Teams that pair it with Testcontainers or Chaos Toolkit for richer scenarios.