Jayaraman Venkatesan
479bb0b8ec
bug/wiremock-1268 moving Scenario state change before global response delay ( #1436 )
...
Co-authored-by: Stef Heyenrath <Stef.Heyenrath@gmail.com >
2026-04-03 10:51:24 +02:00
m4tchl0ck
f919929cb7
Add injectable IScenarioStateStore for distributed scenario state ( #1430 )
...
* Move ScenarioState to Abstractions and add IScenarioStateStore interface
ScenarioState is moved to the Abstractions project so it can be referenced
by the new IScenarioStateStore interface. The interface defines the contract
for storing and retrieving scenario states, enabling distributed implementations.
* Add InMemoryScenarioStateStore default implementation
Wraps ConcurrentDictionary with OrdinalIgnoreCase comparer, preserving
exact current behavior. The Update method encapsulates read-modify-write
so distributed implementations can make it atomic.
* Wire IScenarioStateStore into middleware options, settings, and consumers
Replace direct ConcurrentDictionary<string, ScenarioState> usage with
IScenarioStateStore across all consumer files. The store is injectable
via WireMockServerSettings.ScenarioStateStore, defaulting to the
InMemoryScenarioStateStore for backward compatibility.
* Add FileBasedScenarioStateStore for persistent scenario state
In-memory ConcurrentDictionary backed by JSON file persistence in
__admin/scenarios/. Reads from cache, mutations write through to disk.
Constructor loads existing state from disk on startup.
* Make ScenarioStateStore non-nullable with default InMemoryScenarioStateStore
Move InMemoryScenarioStateStore from WireMock.Net.Minimal to
WireMock.Net.Shared so it lives alongside WireMockServerSettings.
This allows WireMockServerSettings.ScenarioStateStore to be
non-nullable with a default value, following the same pattern as
DefaultJsonSerializer. The null-coalescing fallback in
WireMockMiddlewareOptionsHelper is no longer needed.
2026-03-25 13:04:44 +01:00
Stef Heyenrath
a292f28dda
Version 2.x ( #1359 )
...
* Version 2.x
* Setup .NET 9
* 12
* cleanup some #if for NETSTANDARD1_3
* cleanup + fix tests for net8
* openapi
* NO ConfigureAwait(false) + cleanup
* .
* #endif
* HashSet
* WireMock.Net.NUnit
* HttpContext
* Add WebSockets (#1423 )
* Add WebSockets
* Add tests
* fix
* more tests
* Add tests
* ...
* remove IOwin
* -
* tests
* fluent
* ok
* match
* .
* byte[]
* x
* func
* func
* byte
* trans
* ...
* frameworks.........
* jmes
* xxx
* sc
* using var httpClient = new HttpClient();
* usings
* maxRetries
* up
* xunit v3
* ct
* ---
* ct
* ct2
* T Unit
* WireMock.Net.TUnitTests / 10
* t unit first
* --project
* no tunit
* t2
* --project
* --project
* ci - --project
* publish ./test/wiremock-coverage.xml
* windows
* .
* log
* ...
* log
* goed
* BodyType
* .
* .
* --scenario
* ...
* pact
* ct
* .
* WireMock.Net.RestClient.AwesomeAssertions (#1427 )
* WireMock.Net.RestClient.AwesomeAssertions
* ok
* atpath
* fix test
* sonar fixes
* ports
* proxy test
* FIX?
* ---
* await Task.Delay(100, _ct);
* ?
* --project
* Aspire: use IDistributedApplicationEventingSubscriber (#1428 )
* broadcast
* ok
* more tsts
* .
* Collection
* up
* .
* 2
* remove nfluent
* <VersionPrefix>2.0.0-preview-02</VersionPrefix>
* ...
* .
* nuget icon
* .
* <PackageReference Include="JmesPath.Net" Version="1.1.0" />
* x
* 500
* .
* fix some warnings
* ws
2026-03-11 17:02:47 +01:00
Stef Heyenrath
f80925c1fb
Add Scenario set State method ( #1322 )
...
* Add SetScenarioState
* add tests
* summary
* .
* 1.8.13-preview-01
* fix
* fix name
2025-06-23 08:03:11 +02:00
Stef Heyenrath
54edf0bebc
Add link to TIOBE Index on main page + fix issues ( #1137 )
...
* Add TIOBE + include SonarAnalyzer.CSharp
* .
* cp
* Copyright © WireMock.Net
* more fixes
* fix
* xpath
* if (Matchers == null || !Matchers.Any())
* if (Matchers != null)
* ?
* .
* .
2024-07-18 18:06:04 +02:00
Stef Heyenrath
b5ae087b95
Add .ConfigureAwait(false); to the await Task calls ( #704 )
...
Add .ConfigureAwait(false); to the await Task calls
2021-12-24 14:08:43 +01:00
Stef Heyenrath
db2caadf70
Fix SonarCloud OpenCover (coverlet-coverage) ( #545 )
2020-11-30 15:48:17 +01:00
Stef Heyenrath
4d0373d4ca
Scenario : stay on current state for a number of times ( #495 )
...
* state
* xml comment
2020-08-01 18:40:35 +02:00
Stef Heyenrath
d971144426
WireMock.Net version 1.1.x ( #363 )
...
* refactor
* rename api
* -preview-01
* logger
* move
* RandomDataGenerator.Net
* .
* ISettings
* renames...
* refactor CommandlineParser logic
* remove standalone
* Remove Interfaces
* Update tests
* WireMock.Net.StandAlone
* .
* fix
* .
* _settings
* Admin
* WireMock.Net.Abstractions
* fix build
* rename WireMockServer
* fix compile errors
2019-12-27 16:01:13 +01:00
Noah Lerner
0ff23a3d15
Support int values for states and scenario naming ( #376 )
...
* Support int values for states and scenario naming
* fix remove added dependency
2019-11-21 12:01:20 +01:00
Stef Heyenrath
b57d118c3d
Support Microsoft.AspNetCore for net 4.6.1 and up ( #185 )
...
* net451
* tests : net462
* fixed tests
* fix tests
* readme
* Code review
* LocalFileSystemHandlerTests
* refactor
2018-08-17 18:52:29 +02:00
Stef Heyenrath
4b91c05fe7
Add IFileSystemHandler to support Azure for StaticMapping location ( #180 )
...
* wip
* CustomStaticMappingFileHandler
* Add unit-tests
* Tests
* IFileSystemHandler
* version
2018-08-14 18:54:53 +02:00
Stef Heyenrath
8f34291ea9
Expose scenario states ( #168 )
...
* Scenarios (WIP)
* Update ToJson and StatefulBehaviorTests
* fix tests
* Update comment
2018-07-18 21:29:49 +02:00
Stef Heyenrath
938d3fb095
Replace log4net by custom logger ( #94 ) ( #96 )
...
* Replace log4net by custom logger
* WireMockNullLogger
2018-02-28 07:01:03 +00:00
Stef Heyenrath
e850126184
Unittest fix ( #95 )
...
* fix tests
* fix tests
2018-02-27 11:17:36 +00:00
Stef Heyenrath
0c25b2e9f2
Json fixes ( #91 ) ( #92 )
...
* Fixes for JsonPath
* More tests
* Fixes + added tests
2018-02-23 12:29:43 +00:00
Stef Heyenrath
1ffd56701c
fix unit-test
2018-02-14 20:38:19 +01:00
Oleksandr Liakhevych
d134684bcb
Add ability to provide multiple values for headers in response ( #59 )
...
* Add ability to provide multiple values for headers
* Updated json model
2017-10-27 21:49:03 +02:00
Stef Heyenrath
782418f107
Scenario_and_State_TodoList_Example
2017-10-07 17:34:09 +02:00
Stef Heyenrath
5424b1e2e2
scenario and state
2017-10-07 13:19:48 +02:00
deeptowncitizen
ab017beaa6
stateful behavior + tests
2017-10-04 15:57:49 -04:00