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

Closed
opened 2025-12-29 08:29:12 +01:00 by adam · 2 comments
Owner

Originally created by @walidhaidarii on GitHub (Mar 23, 2023).

Originally assigned to: @StefH on GitHub.

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.

Originally created by @walidhaidarii on GitHub (Mar 23, 2023). Originally assigned to: @StefH on GitHub. **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)](https://www.wiremock.org)? Please provide details.** no idea as far as I know.
adam added the feature label 2025-12-29 08:29:12 +01:00
adam closed this issue 2025-12-29 08:29:13 +01:00
Author
Owner

@StefH commented on GitHub (Mar 23, 2023):

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

@StefH commented on GitHub (Mar 23, 2023): Did you try editing the saved proxy mapping file to allow a `*` for that specific Query param?
Author
Owner

@walidhaidarii commented on GitHub (Mar 24, 2023):

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 commented on GitHub (Mar 24, 2023): > 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#503