mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
MappingModel allows to configure the times for WillSetStateTo #709
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
SetStateToto 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
@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 11, 2025):
https://github.com/wiremock/WireMock.Net/issues/1346