Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: adding excluded params to proxy and records settings #912

Closed
walidhaidarii opened this issue Mar 23, 2023 · 2 comments
Closed

Feature: adding excluded params to proxy and records settings #912

walidhaidarii opened this issue Mar 23, 2023 · 2 comments
Assignees
Labels

Comments

@walidhaidarii
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I have an issue when saving mapped JSON files from requests that have a timestamp as a query param, which will be different on every request, causing the matching to always call the proxy API and fail to locate the JSON file as expected.

Describe the solution you'd like
To add the property [ExcludedParams] to the class [ProxyAndRecordSettings] so we can add those params to be excluded from saving into the JSON

Describe alternatives you've considered
no alternative as far as I know.

Is your feature request supported by WireMock (java version)? Please provide details.
no idea as far as I know.

@StefH StefH self-assigned this Mar 23, 2023
@StefH
Copy link
Collaborator

StefH commented Mar 23, 2023

Did you try editing the saved proxy mapping file to allow a * for that specific Query param?

@walidhaidarii
Copy link
Contributor Author

Did you try editing the saved proxy mapping file to allow a * for that specific Query param?

But we delete all the files after every deployment to start with fresh data, not to say that the request having such param are so many

walidhaidarii added a commit to walidhaidarii/WireMock.Net that referenced this issue Mar 24, 2023
@StefH StefH closed this as completed Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants