Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

gaggl/marten

Repository files navigation

Marten, Http Chaos Monkey Server

Marten provides a way to test your upstream application or proxy server by randomly returning HTTP codes with a predefined probability.

Marten is an extension of toxiproxy proper with 1 additional toxic, namely the status toxic. This allows the user to modify http response bodies.

Build

go build

Run

./marten [ --config example/marten.json ]

Config

As marten is an extension of toxiproxy, so we like to point you to its manual.

$ toxiproxy-cli toxic add marten -t response [-a code=500] [-a status="foobarbqq"] [-a body='{ "foo": "bar" }'] [--tox 0-1.0]