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.88k stars 452 forks source link

Possible to add toxics in config? #510

Closed KernelDeimos closed 1 year ago

KernelDeimos commented 1 year ago

I found this PR when I looked for an example of adding toxics in the config file. Well, that sure didn't work, nor was there any error message even though my additional configuration wasn't being interpreted. (well that part makes sense... #golangproblems eh?)

My question is what do I do? Do I really need to launch the server, and run a shell script that uses toxiproxy-cli to update the state; or write code in Ruby which I'm not currently using for anything else? The JSON config is a lot more convenient than either of these options, but it doesn't seem to work at all.

KernelDeimos commented 1 year ago

adding this as a comment to #447 instead