Skip to content

New Container: Toxiproxy #1104

Description

@JonnasFigueiredo

What is the new container you'd like to have?

A ToxiproxyContainer that wraps Toxiproxy, the TCP proxy for simulating adverse network conditions (latency, bandwidth limits, connection drops, ...). This lets tests verify how an application behaves when its dependencies misbehave.

Why not just use a generic container for this?

Toxiproxy needs its own helpers to be usable: exposing the HTTP control API and a range of proxy ports, creating proxies in front of an upstream, and adding toxics via the control API. A ToxiproxyContainer module already exists for testcontainers Java, Go and .NET, but not yet for Python.

I have a working implementation (no extra runtime dependencies, control API called over urllib) with an integration test, docs and example, and would like to contribute it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions