grpc-replay: print response received
righettod opened this issue ยท 4 comments
Hello,
It is possible to add the capability in the tool to print the response received ?
Thanks a lot again for this toolkit ๐
Hey ๐๐ป
Would you mind expanding a bit on what you're looking to get out of this? (i.e. what benefit does printing the response give you?)
Just want to make sure there's not a more general enhancement we could make that could be even more useful ๐
Hi,
In fact after having captured an echange with grpc-dump
, I resent it via grpc-replay
after having modified the message and I just need to see the response to this replay in order to see if my update has changed the behavior of the service.
I use grpc-replay
to perform fuzzing against a service exposed via gRPC.
Feel free to indicate to me if I misuse the toolkit or if I have missed something ๐
Ah I see, that's a very valid use of these tools! ๐
I see that grpc-replay
currently just prints "Err mismatch" if the service returns an unexpected response (https://github.com/bradleyjkemp/grpc-tools/blob/master/grpc-replay/replay/replay.go#L99). Seems completely reasonable to print out what the mismatch is at this point which should fulfill your needs?
I can't guarantee any timelines on adding this but it shouldn't be difficult once I get round to it
Yes, take the time you need, it's a spare time project ๐
Thanks again for your feedback and this amazing toolikt ๐