Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic / Conditional Toxics? #518

Open
hwrdtm opened this issue Jul 25, 2023 · 2 comments · May be fixed by #519
Open

Dynamic / Conditional Toxics? #518

hwrdtm opened this issue Jul 25, 2023 · 2 comments · May be fixed by #519

Comments

@hwrdtm
Copy link

hwrdtm commented Jul 25, 2023

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?

  • One idea that I have is to inspect proxied messages - is this supported today and, if not, would it be of interest for this tool to support it moving forward?

Thanks in advance!

@hwrdtm hwrdtm linked a pull request Aug 3, 2023 that will close this issue
@praveensvsrk
Copy link

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
Copy link
Author

hwrdtm commented Apr 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants