Stef Heyenrath
7d1dcc6fb1
x
2026-04-20 19:37:09 +02:00
Stef Heyenrath
b105fd3706
.
2026-04-19 19:20:00 +02:00
Stef Heyenrath
21cc70e77b
.
2026-04-19 11:05:55 +02:00
Stef Heyenrath
3fcc530d30
Merge branch 'master' into SystemTextJsonMatcher
2026-04-18 09:43:59 +02:00
Stef Heyenrath
885911203b
Use DefaultJsonSerializer for BodyAsJson-Response ( #1448 )
2026-04-18 09:43:24 +02:00
Stef Heyenrath
b55842afae
Update src/WireMock.Net.Minimal/Properties/AssemblyInfo.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-18 08:21:37 +02:00
Stef Heyenrath
ce35fe14af
new projectx
2026-04-17 18:07:46 +02:00
Stef Heyenrath
6cb41494c8
.
2026-04-17 15:27:43 +02:00
Stef Heyenrath
6e402acd80
,
2026-04-17 14:42:43 +02:00
Stef Heyenrath
9853f055f2
SystemTextJsonMatcher
2026-04-17 14:32:55 +02:00
Stef Heyenrath
1e591d5f8a
Fix ExactMatcher and JsonMatcher not working for ISO dates as string ( #1443 )
2026-04-17 13:32:26 +02:00
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
Stef Heyenrath
6c6a42979e
Add comments for ScenarioStateStore related code ( #1433 )
2026-03-30 19:49:28 +02:00
Stef Heyenrath
b4f5b9256c
Upgrade Scriban.Signed ( #1434 )
2026-03-30 19:49:16 +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
ca788cb9b0
Add WireMockAspNetCoreLogger to log Kestrel warnings/errors ( #1432 )
...
* Add WireMockAspNetCoreLogger
* fix tests
* x
* .
2026-03-14 10:30:56 +01:00
Stef Heyenrath
d08ce944b6
Fix WireMockLogger implementation in dotnet-WireMock ( #1431 )
2026-03-13 18:34:47 +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
df85649b67
MappingSerializer (Newtonsoft or SystemText)-Json ( #1394 )
...
* MappingSerializer
* json
* .
* 0.8.0
* test
* mm
2026-02-14 08:42:18 +01:00
Stef Heyenrath
702e156ddc
Fix MimePartMatcher and add more tests ( #1389 )
...
* mp
* .
* --return
* Fixed
* --
* ...
* fix
* ...
* .
2026-01-24 09:15:43 +01:00
Stef Heyenrath
4b602dd777
Small updates to WireMock.Net.OpenTelemetry
2026-01-18 17:56:07 +01:00
Petr Houška
4525c61847
Add OTEL tracing support for Wiremock + automatic OTEL for Aspire integration ( #1418 )
...
* Update aspire to 13.1 (examples + code)
Allows usage of aspire CLI which is very useful for dev in codespaces (for my next PR).
* Add OTEL support
* Initial PR feedback
* PR feedback
* PR feedback
* PR feedback
* Cleanup.
* Cleanup
* Fix
* Fix
* Rename stuff around to be more accurate
* PR feedback
* Update WireMock.Net.OpenTelemetry.csproj
Update <Authors>
* PR feedback parser
* PR feedback package versions
* Status code feedback.
* Update preprocessor directives to to Activity Tracing instead of OpenTelemetry. Is more descriptive.
* Add tests
* Improve tests
---------
Co-authored-by: Stef Heyenrath <Stef.Heyenrath@gmail.com >
2026-01-18 17:22:36 +01:00
samlatham
0e60e3f3f9
Fix: Pass AllowedHandlebarsHelpers configuration to Handlebars.Net.Helpers ( #1416 )
...
Pass AllowedHandlebarsHelpers configuration to Handlebars.Net.Helpers so that optional handlebars helpers can be enabled.
Co-authored-by: Sam Latham <sam.latham@citrix.com >
2026-01-05 21:24:48 +01:00
Luca Ma
9cee6dde00
Pass the parameter matchOperator in Request.WithPath to its inner calls ( #1414 )
...
Co-authored-by: Luca Ma <lucama@microsoft.com >
2026-01-04 08:03:19 +01:00
Stef Heyenrath
f8e2c7ee90
Add WithBodyAsType to RequestMatcher ( #1388 )
...
* Add WithBody<T>
* .
* t
* t2
2025-12-08 19:15:14 +01:00
Stef Heyenrath
6da190e596
Aspire: Add WithProtoDefinition to support proto definition at server level ( #1383 )
...
* Add property UseHttp2 to WireMockServerArguments
* .
* additionalUrls
* ok?
* WireMockServerArguments
* fx
* AddProtoDefinition
* ...
* FIX
* Always add the lifecycle hook to support dynamic mappings and proto definitions
2025-12-07 10:50:11 +01:00
Stef Heyenrath
44388ce80d
Fix random delay in mapping json file ( #1386 )
2025-11-25 20:54:06 +01:00
Stef Heyenrath
21601889e0
Check if the path is valid when using WithPath(...) ( #1377 )
2025-11-08 09:02:00 +01:00
Stef Heyenrath
1feb0ade70
Fix wiki links ( #1373 )
...
* Change all links from wiki to documention website
* .
* doc
* ws
2025-10-26 10:13:58 +01:00
Stef Heyenrath
5885324dfb
Fix WithProbability logic ( #1367 )
...
* Fix WithProbability logic
* .
* FIX
* Update src/WireMock.Net.Minimal/Owin/MappingMatcher.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-22 10:16:59 +02:00
Stef Heyenrath
b9019a2f61
Update ProxyUrlReplaceSettingsModel with TransformTemplate property ( #1362 )
...
* Update ProxyUrlReplaceSettingsModel with TransformTemplate property + parse settings correctly
* oldValue nullable
* <Version>1.14.0-preview-01</Version>
2025-10-06 09:16:25 +02:00
Stef Heyenrath
b82dad2563
Add Tls13 ( #1363 )
...
* Add Tls13
* fix
2025-10-05 15:51:47 +02:00
Stef Heyenrath
19e95325fa
ProxyUrlTransformer ( #1361 )
...
* ProxyUrlTransformer
* tests
* Update src/WireMock.Net.Shared/Settings/ProxyUrlReplaceSettings.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-28 12:40:33 +02:00
Stef Heyenrath
371bfdc160
TypeLoader: implement Try methods ( #1358 )
...
* TypeLoader: implement Try methods
* fix
2025-08-31 08:48:29 +02:00
Stef Heyenrath
35bf5e94a5
Add System.Net.Http again to solve CVE warning ( #1354 )
2025-08-27 08:45:24 +02:00
Stef Heyenrath
e5c4605020
Create WireMock.Net.ProtoBuf project ( #1350 )
...
* Create WireMock.Net.ProtoBuf project
* ok
* Update Directory.Build.props
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-26 07:55:02 +02:00
Stef Heyenrath
22ed94918a
Fix generating source code for Scenario and State ( #1347 )
...
* Fix generating source code for Scenario and State
* Update src/WireMock.Net.Minimal/Serialization/MappingConverter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Minimal/Serialization/MappingConverter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-17 10:06:39 +02:00
Stef Heyenrath
faffc56484
Add TimesInSameState to MappingModel ( #1345 )
...
* Add TimesInSameState to MappingModel
* fix tests
2025-08-11 08:46:18 +02:00
Stef Heyenrath
0597a73e0e
Create GraphQL project ( #1334 )
...
* Create new project for GraphQL
* ...
* .
* ok?
* Update src/WireMock.Net.Shared/Extensions/AnyOfExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* --
* ...
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-10 19:00:22 +02:00
Stef Heyenrath
e80d436dd6
Use corerct Handlebars.Net.Helpers.Xslt (2.5.2) ( #1332 )
2025-07-18 10:57:58 +02:00
Stef Heyenrath
020cc15420
Correctly map the Pact Interaction Description property ( #1331 )
...
* Correctly map the Pact Interaction Description property
* Update src/WireMock.Net.Minimal/Serialization/PactMapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* post
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-18 08:41:04 +02:00
Stef Heyenrath
a06ee6b158
Fix HandlebarsContext.ParseAndEvaluate ( #1329 )
2025-07-12 11:05:02 +02:00
Stef Heyenrath
b0076b4e81
Implement IMimeMessageData ( #1326 )
...
* Implement IMimeMessageData
* 1
* Update src/WireMock.Net.MimePart/Util/MimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* v1
* v2
* e
* ?
* fix
* if (Array.TrueForAll(_funcs, func => func(value).IsPerfect()))
* Update src/WireMock.Net.Shared/Util/IMimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Minimal/Matchers/Request/RequestMessageMultiPartMatcher.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimeEntityDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Models.Mime.IMimeMessageData? BodyAsMimeMessage { get; }
* Update src/WireMock.Net.MimePart/Util/MimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimePartDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimeMessageDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Shared/Util/IMimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-12 09:54:18 +02:00
Stef Heyenrath
6c61f87ef3
Add method CreateHttpClientFactory ( #1325 )
...
* Add method CreateHttpClientFactory
* rev
2025-07-08 10:50:30 +02: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
7b93b2668d
Fix TypeLoader ( #1320 )
...
* no ilmerge
* .
* .
* nullable
* .UsingNuGet
* fix
* .
* directoriesToSearch
* .
2025-06-15 11:44:09 +02:00
Dom Light
70a9180af4
Set description when converting MappingModel to IRespondWithAProvider ( #1317 )
...
Adding a mapping with a description to `WireMockServer.WithMapping`
did not include the description to the resulting
`IRespondWithAProvider`, which means that calling
`WireMockServer.SavePact` does not populate the description in the
contract file.
This PR includes the description when mapping from `MappingModel` to
`IRespondWithAProvider`.
2025-06-14 11:13:04 +02:00
Stef Heyenrath
77000372c6
Fix for WithTransformer and JsonBody as list ( #1315 )
...
* Fix for WithTransformer and JsonBody as list
* Fix WithTransformer when the response BodyAsJson is a List
2025-06-11 11:51:29 +02:00
Stef Heyenrath
ac9c51e34e
Update RandomDataGenerator.Net to 1.0.19 ( #1313 )
...
* Update RandomDataGenerator.Net to 1.0.19
* Handlebars.Net.Helpers
2025-06-11 09:00:23 +02:00
Stef Heyenrath
86d4717216
Add option to provide X509Certificate ( #1303 )
...
* Add option to provide X509CertificateRawData
* X509Certificate
* remove X509CertificateRawData
2025-05-28 07:15:46 +02:00