[Test Proxy] Support AsyncioRequestsTransport - #25897
Conversation
|
Just talked to Laurent about this. His opinion is that the test proxy should be allowed to depend on a single async transport -- in this case, The solution should be to fix App Config's dependence on |
|
Merging, per #26140 (comment). We can drop this support later on once App Config has proper support for |
Add 2023-11-01-preview for appplatform (Azure#26231) * Adds base for updating Microsoft.AppPlatform from version preview/2023-09-01-preview to version 2023-11-01-preview * Updates readme * Updates API version in new specs and examples * Fix go readme for asa api (Azure#25897) * Update language specific readme.md for 2023-11-01-preview api version (Azure#25898) * add more build result information in build resource (Azure#25930) Co-authored-by: 刘清仪 <liuqingyi@liuqingyideMacBook-Pro.local> * Add apiTryOutEnabledState for api protal (Azure#25923) * Add swagger for Spring Cloud Gateway response cache (Azure#25924) * Update appplatform.json (Azure#26234) * Update appplatform.json * Update appplatform.json --------- Co-authored-by: Sandy Cai <sandy.caiqing@gmail.com> Co-authored-by: Qingyi Liu <34502364+smile37773@users.noreply.github.com> Co-authored-by: 刘清仪 <liuqingyi@liuqingyideMacBook-Pro.local>
Description
We currently only patch
AioHttpTransport, the most common async transport in the SDK. App Configuration usesAsyncioRequestsTransportas its async transport though -- whether or not it should hard code this is being discussed separately, but in any case our test proxy infrastructure should support any transport that clients choose to use.This adds support for
AsyncioRequestsTransportby patching itssendmethod during recorded tests, just as we currently do forAioHttpTransport.All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines