Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
114 stars 180 forks source link

Test-Proxy can optionally compress request/response #9411

Open scbedd opened 5 days ago

scbedd commented 5 days ago

Teams discussion

The test-proxy should support a new flag that be set when StartRecording is being invoked - CompressAtRest. (Working title)

All of this should be entirely transparent to the users other than:

It's a actually a bit of an interesting question, because the compressed bytes will need to be encoded to some serialized format, and I'm not actually certain if that'll save us space. OR the recording won't be json anymore.