server-side equivalent of go-vcr ? #88
marco-m-pix4d
started this conversation in
General
Replies: 1 comment 1 reply
-
Hey Marco, I haven't really thought about it to be honest, although I do see the benefits of such a package. I'd be happy to further discuss such an idea and how to potentially integrate it into Thanks, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Marin,
thanks for go-vcr, I found it very helpful!
I am wondering how to best test the following scenario.
With go-vcr, the SUT (system under test) is the HTTP client. Imagine now wanting to test the other side, the HTTP server, by recording and then replaying the interaction at the server side.
A bit in the spirit of https://docs.mitmproxy.org ("Replay the client-side of an HTTP conversation"), but in Go and usable as a package, not as an external tool.
Currently I have a misty idea in my mind of writing a reverse proxy, but I am wondering if you already thought of this problem or if you knew of existing libraries for this.
thanks!
Beta Was this translation helpful? Give feedback.
All reactions