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.
go build
./marten [ --config example/marten.json ]
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]