Stef Heyenrath
dd4770a78b
.
2025-12-18 18:15:37 +01:00
Stef Heyenrath
f6452d1dce
MappingSerializer
2025-12-16 22:37:26 +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
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
12d2219752
Disable DynamicLinq to fix CVE ( #1242 )
...
* Disable DynamicLinq
* Disable DynamicLinq functionality
2025-01-22 10:30:52 +01:00
Stef Heyenrath
1682c61a0c
Use latest ProtoBufJsonConverter to support WellKnownTypes ( #1161 )
...
* Use latest ProtoBufJsonConverter to support WellKnownTypes
* Fix
* 02
* WireMockServer_WithBodyAsProtoBuf_WithWellKnownTypes
* .
* extra test
* 0.4.0-preview-06
* 7
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-08" />
* Update README.md
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-09" />
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0" />
* Update README.md
2024-10-16 10:57:47 +02:00
Stef Heyenrath
da100298c1
Update MappingConverter to correctly write the Matcher as C# code ( #1152 )
...
* Update MappingConverter to correctly write the Matcher as C# code
* .
* CSharpCodeMatcher
* tests
* .
2024-08-27 19:38:07 +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
54fe0823dc
Add RegEx support to JsonMatcher ( #1091 )
...
* json matcher regex
* better test
* regression
2024-04-06 18:08:45 +02:00
Stef Heyenrath
6ac95cf57d
Add Grpc ProtoBuf support (request-response) ( #1047 )
...
* ProtoBuf
* .
* x
* ---
* x
* fx
* ...
* sc
* ...
* .
* groen
* x
* fix tests
* ok!?
* fix tests
* fix tests
* !
* x
* 6
* .
* x
* ivaluematcher
* transformer
* .
* sc
* .
* mapping
* x
* tra
* com
* ...
* .
* .
* .
* AddProtoDefinition
* .
* set
* grpahj
* .
* .
* IdOrText
* ...
* async
* async2
* .
* t
* nuget
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0-preview-04" />
* http version
* tests
* .WithHttpVersion("2")
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0" />
* HttpVersionParser
2024-02-16 17:16:51 +01:00
Stef Heyenrath
4721b73a16
Update Handlebars Transformer logic (ReplaceNodeOptions) ( #1036 )
...
* Update Handlebars Transformer logic (ReplaceNodeOptions)
* okeee
* EvaluateAndKeep = Evaluate
* fix?
* linux
* _
* tt
* xxx
* fx
* x
* fix test
2023-12-21 20:02:58 +01:00
Mindaugas Laganeckas
7b8e7bb684
Implement prefix for saved mapping file ( #1040 )
...
* Implement PrefixForSavedMappingFile
* Add missing new line
* Add missing new line
* Fix warning
* Fix typo
* Change from readonly to const
* Assign default value
* Use nameof()
* Change from readonly to const
* Update tests
* Update failing test
* Rename settingsMock to settings
* Create public const
* Use const from ProxyAndRecordSettings
---------
Co-authored-by: Mindaugas Laganeckas <mindaugas.laganeckas@nexigroup.com >
2023-12-14 08:28:21 +01:00
Stef Heyenrath
fb3ae53e1c
GraphQL - custom scalar support ( #1012 )
...
* x
* CustomScalars
* more tests
* .
* add or set
* ...
* x
2023-12-04 18:02:03 +01:00
Carsten Alder
60bf12e2a9
Support for xml namespaces in XPathMatcher ( #1005 )
...
* Support for xml namespaces in XPathMatcher
* Review findings of Stef implemented.
* Fix of build error
* New review findings by Stef
---------
Co-authored-by: Carsten Alder <carsten.alder@schleupen.de >
2023-10-02 19:29:31 +02:00
Stef Heyenrath
b63076a9ac
Fix MappingModel to map IgnoreCase and RejectOnMatch for Headers, Cookies and Parameters ( #1004 )
2023-09-26 21:01:33 +02:00
Stef Heyenrath
93c87845c2
Write logging in case a Matcher throws an exception ( #986 )
...
* ThrowException
* ...
* .
* ...
* b
* fix test
* ...
* .
* sonar
* ft
* .
* fix tst
2023-08-21 20:07:46 +02:00
Stef Heyenrath
4688f556b5
Add MultiPart/MimePart Request Matcher ( #981 )
...
* wip
* .
* mm
* x
* .
* .
* .
* tests
* .
* more tests
* trans
* x
* win
* fix
* .
* tests
2023-08-03 15:55:46 +02:00
Stef Heyenrath
b495eb83b1
Add GraphQL Schema matching ( #964 )
...
* Add GrapQLMatcher
* tests
* x
* .
* .
* RequestMessageGraphQLMatcher
* .
* more tests
* tests
* ...
* ms
* .
* more tests
* GraphQL.NET !!!
* .
* executionResult
* nw
* sonarcloud
2023-07-07 21:43:46 +02:00
Cezary Piątek
427715a38a
Fix csharp mapping code generator ( #926 )
2023-05-02 16:48:32 +02:00
Stef Heyenrath
090e0eb437
Add WithProbability ( #922 )
...
* WithProbability
* fix
* x
* ,
* .
* .
* .
2023-04-12 20:48:53 +02:00
Stef Heyenrath
7426bf76ee
Add 'Data' to response which can be used during transforming the response ( #893 )
...
* Add 'Data' to response which can be used during transforming the response
* md
* hb
* fix
* Linq
* fix test
* v4
* 14
* .
* x
* remove
* s
2023-03-09 17:20:34 +01:00
Stef Heyenrath
674fa89c3e
ProxySettings : Add logic to not save some requests depending on HttpMethods ( #900 )
...
* Add ExcludedHttpMethods to ProxySettings
* tst
* fix
* SaveMappingSettings
* .
2023-03-09 15:28:52 +01:00
Stef Heyenrath
7fe2c8af78
Update REST Admin interface to support "Get Mapping(s) as C# Code" ( #878 )
...
* Add /__admin/mappings/code endpoint
* api
* fix
* .
* fix
* .
* .
* .
2023-01-29 10:24:58 +01:00
Stef Heyenrath
770a670e53
Generate C# code from Mapping ( #842 )
...
* 1
* .
* v
* .
* .
* -
* b
* res b
* Fix UT
* .
* Verify
* v
* ...
* .
* .
* dir
* m
2023-01-24 16:45:47 +01:00
Stef Heyenrath
e2f3ffd33a
Add UpdatedAt property to Mapping ( #859 )
...
* Add UpdatedAt property to Mapping
* .
2022-12-09 14:18:50 +01:00
Stef Heyenrath
57115f1a3d
Add setting to skip saving the string-response in the logging when using WithBody(Func...) ( #828 )
...
* Add extra unit-test for Response WithBody (dynamic code)
* DoNotSaveDynamicResponseInLogEntry
* update SettingsModel
* fix
* .
2022-10-21 14:47:26 +02:00
Stef Heyenrath
55afc8041f
ExactMatcher : IgnoreCase ( #817 )
...
* ...
* mm
* fix some null warnings
* fx
2022-10-15 08:23:58 +02:00
Stef Heyenrath
f7b04f3234
Add UseDefinedRequestMatchers to ProxyAndRecordSettings ( #821 )
...
* .
* UseDefinedRequestMatchers
* ok
* .
* ClientIP
* t
* fix ut
* .
* cf
* cf2
2022-09-30 11:25:11 +02:00
Stef Heyenrath
98a0f2fa28
WebHook : UseFireAndForget + Delay ( #803 )
...
* UseFireAndForget
* ...
* delay
* async
* updated code accorsing to proposal
* Change nuget to package reference for WireMock.Net.Console.Net472.Classic, move the new FireAndForget into the main mapping, out of individual webhook mappings making it all or nothing, update tests, change Middleware to await or not the firing of all webhooks. Update models as needed. (#804 )
Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com >
* small update
* Tweak middleware and fix bug in example (#806 )
Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com >
* .ConfigureAwait(false)
Co-authored-by: mattisking <mattisking@gmail.com >
Co-authored-by: Matt Philmon <Matt_Philmon@carmax.com >
2022-09-12 20:30:40 +02:00
Stef Heyenrath
ae91ed2a79
Update Scriban.Signed to version 5.5.0 ( #777 )
2022-07-29 13:18:23 +02:00
Stef Heyenrath
bdd421e128
JsonPartialMatcher - support Regex ( #771 )
...
* JsonPartialMatcher - support Regex
* .
* .
* more tests
* .
* .
2022-07-24 15:54:53 +02:00
Stef Heyenrath
0441c1d85e
Add MatchOperator "Or", "And" and "Average" for patterns ( #755 )
...
* wip
* ...
* .
* ...
* ...
* path
* url
* b
* t
* client
* .
* RequestMessageMethodMatcherTests
* .
* h
* .
* fix tests
* .
2022-06-09 21:31:54 +02:00
Stef Heyenrath
a6ee2dacc7
Initial support for converting the mappings to a Pact(flow) json file ( #748 )
...
* WithDescription
* WithConsumer / WithProvider
* x
* .
* .
* .
* .
* fix
* pact
* nullable
* ficx
* .
* fix
2022-04-22 16:17:50 +02:00
Stef Heyenrath
9d54994747
Allow Timeout.InfiniteTimeSpan for WithDelay ( #746 )
...
* Update WithDelay
* Allow Timeout.InfiniteTimeSpan for WithDelay
2022-04-18 20:55:23 +02:00
Stef Heyenrath
f2fab98abb
MatcherMapper : Always use Pattern ( #716 )
2022-01-27 12:33:48 +01:00
Levan Nozadze
6b393ebc1d
Added support of custom matchers in static mappings ( #713 )
...
* Added support of custom matchers in static mappings
* Fixed code style issues
* Fixed naming and code style
* added empty line
* Ignore serialization of CustomMatcherMappings property in WireMockServerSettings
* Added integration tests for CustomMatcherMappings
2022-01-17 16:04:37 +01:00
Stef Heyenrath
e9db520cc3
Add TimeSettings (Start, End and TTL) ( #661 )
...
* time
* .
* UT
* using JetBrains.Annotations;
2021-10-27 18:57:13 +02:00
Stef Heyenrath
25666152bb
Add JsonPartialWildcardMatcher ( #667 )
...
* JsonPartialWildcardMatcher
* .
* more tests
2021-10-27 08:16:18 +02:00
Stef Heyenrath
57cc616aa3
Implement PatternAsFile for StringMatcher ( #651 )
2021-10-15 08:54:12 +02:00
Stef Heyenrath
ba0b9d9fd8
Implement Random Delay ( #633 )
...
* implement random delays
* fixing CodeFactor issue
* fix code comments
* ...
* UT
Co-authored-by: Michael Yarichuk <michael.yarichuk@gmail.com >
2021-09-22 13:37:41 +02:00
Stef Heyenrath
0f99e06acc
Add NotNullOrEmptyMatcher ( #625 )
2021-08-04 16:22:22 +02:00
Stef Heyenrath
b04000bfdd
Add support for multiple webhooks ( #615 )
2021-05-19 13:58:48 +02:00
Stef Heyenrath
d758301e4f
Webhook ( #591 )
...
Webhook
2021-03-24 18:15:31 +01:00
Stef Heyenrath
92923a12ae
Move CSharpCodeMatcher to a new project ( #548 )
...
* matcher
* wip
* fix
* <VersionPrefix>1.4.0</VersionPrefix>
* .
* x
* ?
* netstandard2.1
* {}
* test
* Fix: Assembly with same name is already loaded
* _format file
* AssemblyFile = $"WireMock.CodeHelper.Class{Guid.NewGuid()}"
* AssemblyFile = $"WireMock.CodeHelper.Class{Guid.NewGuid().ToString().Replace("-", "")}"
* GC
* x
* remove load ex
* ret
* readme
* no GC
* GetImplementationTypeByInterface
* ``
* PluginLoader
* type
2021-01-12 16:56:03 +01:00
Gleb Osokin
548fc2c2c8
Support for partial JSON matching ( #539 )
...
* support Json partial match with JsonPartialMatcher
* fix erroneous filenames
* add newline
* newlines fix
* add JsonPartialMatcher to mapper
* curly braces for ifs
* fix JToken type comparison
* more test cases
* rename AreEqual -> IsMatch + more test cases
* separate tests for JPath matcher values
Co-authored-by: Gleb Osokin <gleb.osokin@avira.com >
2020-11-17 17:18:58 +01:00
Stef Heyenrath
c02dbeb5ee
Fix reading JsonMatcher-mapping with object as pattern ( #505 )
...
* Fix reading mapping with object pattern for JsonMatcher
* .
* .
2020-10-14 20:21:51 +02:00
Stef Heyenrath
06be3aff95
Add ThrowExceptionWhenMatcherFails option to all Matchers ( #500 )
...
* .
* ut
* IMatcher.ThrowException
* settings
* more tests
* linq matcher throw
* .
* .
2020-08-13 08:58:18 +02: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
e6bcd625f7
Don't return empty dictionary object for response headers in JSON mapping ( #424 )
2020-02-22 11:07:04 +01: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