The API I'm writing tests for with VCR requires some URLs to contain a time-based string signature, that renders a different signature every x seconds. When using VCR to replay url connections with newer signatures, the recorded url does not match and the test will attempt a new, actual connection to the server. This makes a lot of the testing code useless.
http://somedomain.com/v1/some/path?sig=5b4971244ce968c77294aa436616333e
Is there a way in the current VCR to somehow have a recorded call match outgoing requests with a different signature, maybe by changing the "uri" attribute of the json to include wildcards of some sort?
If not, would you be interested in a PR that adds this feature to VCR?
P.S. I absolutely love your VCR pod by the way, great job!
The API I'm writing tests for with VCR requires some URLs to contain a time-based string signature, that renders a different signature every x seconds. When using VCR to replay url connections with newer signatures, the recorded url does not match and the test will attempt a new, actual connection to the server. This makes a lot of the testing code useless.
Is there a way in the current VCR to somehow have a recorded call match outgoing requests with a different signature, maybe by changing the
"uri"attribute of the json to include wildcards of some sort?If not, would you be interested in a PR that adds this feature to VCR?
P.S. I absolutely love your VCR pod by the way, great job!