teeproxy icon indicating copy to clipboard operation
teeproxy copied to clipboard

[Feature request] Perform response matching between A and B

Open kasisnu opened this issue 6 years ago • 2 comments

Hello,

I would like to suggest an addition to the feature set provided by teeproxy. We have a use case where duplication of traffic isn't enough. We'd like to be able to gain insights about failing requests. We define a failing request as a request, the responses to which aren't an exact match between A and B.

I understand that not everyone might care about this, and most users probably don't, so it's probably a good idea to put this behind a feature flag.

I'm happy to volunteer a patch for this if there's interest. Also happy to expand on the approach we're taking to report failures.

kasisnu avatar Sep 26 '18 05:09 kasisnu

sounds good. welcome any pull request! how would you output the diff result?

chrislusf avatar Sep 26 '18 05:09 chrislusf

@kasisnu have you seen diffy? https://github.com/twitter/diffy

pbhj avatar Oct 04 '18 22:10 pbhj