More flexible matcher for query string
YuryLapitsky-TomTom opened this issue · comments
Hello,
while using the library I faced that cassettes may contain sensitive information (e.g., API keys that are passed with GET request - domain.com?apiKey=XXX
) which:
- could vary on CI and for local machine
- isn't secure to store as a plain JSON in a repo.
Thus, I'd like to add support parametersToIgnore
for the Session, so later it could be used for interaction comparison and for removing parameters from the cassette.
Could you confirm if that would be accepted and if that's the case whether the suggested approach makes sense?
And thank you for the nice library, it's very useful for network layer testing.