Skip to content

Azure.Sdk.Tools.TestProxy_1.0.0-dev.20230714.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 14 Jul 20:00
639c95d
Add recording file location (#6517)

* Return record file location when playback starts

Some tests have a need to parse data out of their recordings. When playback is started for a disk based recording, include a new header x-recording-file-location on the response which points to the recording.

* update readme

* Add test to make sure in-memory recordings aren't returning the location header

* `IHeaderDictionary` returns an empty string when the header is missing, so `Assert.NotNull` will not catch bugs.

* Update tools/test-proxy/Azure.Sdk.Tools.TestProxy.Tests/PlaybackTests.cs

Co-authored-by: Scott Beddall <[email protected]>