MappingModel allows to configure the times for WillSetStateTo #709

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

Originally created by @scrocquesel-ml150 on GitHub (Aug 6, 2025).

Originally assigned to: @StefH on GitHub.

Is your feature request related to a problem? Please describe.
I'm using mapping files to configure wiremock with scenario. I want to do this configuration https://github.com/wiremock/WireMock.Net/wiki/Scenarios-and-States#stay-in-the-same-state-for-a-number-of-requests with mapping file

Describe the solution you'd like
In the mapping file, either add a new property or allow SetStateTo to take either a string or a complex object.

Describe alternatives you've considered
None

Is your feature request supported by WireMock (java version)? Please provide details.
N/A

Additional context
N/A

Originally created by @scrocquesel-ml150 on GitHub (Aug 6, 2025). Originally assigned to: @StefH on GitHub. **Is your feature request related to a problem? Please describe.** I'm using mapping files to configure wiremock with scenario. I want to do this configuration https://github.com/wiremock/WireMock.Net/wiki/Scenarios-and-States#stay-in-the-same-state-for-a-number-of-requests with mapping file **Describe the solution you'd like** In the mapping file, either add a new property or allow `SetStateTo` to take either a string or a complex object. **Describe alternatives you've considered** None **Is your feature request supported by [WireMock (java version)](https://www.wiremock.org)? Please provide details.** N/A **Additional context** N/A
adam added the feature label 2025-12-29 15:31:32 +01:00
adam closed this issue 2025-12-29 15:31:32 +01:00
Author
Owner

@StefH commented on GitHub (Aug 10, 2025):

https://github.com/wiremock/WireMock.Net/pull/1345

@scrocquesel-ml150
The new property will be: TimesInSameState

@StefH commented on GitHub (Aug 10, 2025): https://github.com/wiremock/WireMock.Net/pull/1345 @scrocquesel-ml150 The new property will be: `TimesInSameState`
Author
Owner

@StefH commented on GitHub (Aug 11, 2025):

https://github.com/wiremock/WireMock.Net/issues/1346

@StefH commented on GitHub (Aug 11, 2025): https://github.com/wiremock/WireMock.Net/issues/1346
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#709