Shopify / toxiproxy

:alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing
https://github.com/shopify/toxiproxy
MIT License
10.63k stars 445 forks source link

Dynamic / Conditional Toxics? #518

Open hwrdtm opened 1 year ago

hwrdtm commented 1 year ago

What

This is a question / feature request.

In my use case, I would like to use dynamic and conditional toxics - I would like to program behaviour such that, upon observing a particular type of message in transit over the network / proxy, I would like to inject a corresponding fault. Would you have any idea how best to achieve this with Toxiproxy, if at all?

Thanks in advance!

praveensvsrk commented 5 months ago

Hi @hwrdtm, wondering if this is still in the works. I am interested in this feature, to conditionally inject faults based on the request parameters (headers/body)

hwrdtm commented 5 months ago

Hi @hwrdtm, wondering if this is still in the works. I am interested in this feature, to conditionally inject faults based on the request parameters (headers/body)

Haven't had time to fix the bugs in the PR, feel free to contribute to it.