github.com/Shopify/toxiproxy

toxiproxy

:alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing

93

Decision Signals

Health score 93/100, confidence 100/100.

Excellent
Maintenance 88
Adoption 100
Security 92
Maturity 90
Developer DX 97
Confidence 100

Install

go get github.com/Shopify/toxiproxy

Package Data

updated May 28, 2026
Latest versionv2.1.4+incompatible
Imported by30 packages
Stars12.1K
Forks500
Last activity2 days ago
Latest releasev2.12.0 (1 years ago)
LicenseMIT
Known vuln records0

API Surface

72 symbols
SymbolKindSynopsis
ApiError Type type ApiError struct{ ... }
ApiError.Error Method func (e *ApiError) Error() string
ApiError.Message Field Message string
ApiError.StatusCode Field StatusCode int
ApiServer Type type ApiServer struct{ ... }
ApiServer.Collection Field Collection *ProxyCollection
ApiServer.Listen Method func (server *ApiServer) Listen(host string, port string)
ApiServer.Populate Method func (server *ApiServer) Populate(response http.ResponseWriter, request *http.Request)
ApiServer.PopulateConfig Method func (server *ApiServer) PopulateConfig(filename string)
ApiServer.ProxyCreate Method func (server *ApiServer) ProxyCreate(response http.ResponseWriter, request *http.Request)
ApiServer.ProxyDelete Method func (server *ApiServer) ProxyDelete(response http.ResponseWriter, request *http.Request)
ApiServer.ProxyIndex Method func (server *ApiServer) ProxyIndex(response http.ResponseWriter, request *http.Request)

Similar Packages

Go Testing Libraries

#1 Gomega

Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.

Go Testing Libraries 2.3K stars 11.8K imported-by 100% confidence
96

#2 mockery

A mock code autogenerator for Go

Go Testing Libraries 7.1K stars 8 imported-by 100% confidence
95

#3 Testify

Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.

Go Testing Libraries 26.0K stars 15 imported-by 100% confidence
95

#4 keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

Go Testing Libraries 17.5K stars 0 imported-by 45% confidence
86

#5 hoverfly

Lightweight service virtualization/ API simulation / API mocking tool for developers and testers

Go Testing Libraries 2.5K stars 0 imported-by 100% confidence
80