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
Stef Heyenrath
596177d4e5
Add support for Faults ( #360 )
...
* FaultType - wip
* .
* copy fault
* tests
* code-factor
* more tests
* fix tests
* fixed
* remove RANDOM_DATA_THEN_CLOSE
2019-10-26 06:01:25 +00:00
Stef Heyenrath
666992ef24
When posting new mapping, use DateParseHandling.None ( #348 )
...
* .
* OfType + test
* remove line
2019-09-20 13:44:19 +02:00
Stef Heyenrath
d55e2fb920
Refactor MappingConverter & MatcherMapper ( #323 )
2019-08-17 17:00:44 +00:00
Stef Heyenrath
93682c9bbf
Handlebars Extension ( #286 )
...
* wip
* HandlebarsRegistrationCallback
* HandlebarsContextFactoryTests
* 1.0.21.0
* fix sonar
* LocalFileSystemHandler
* readme
* Fix System.IO.IOException
2019-07-03 18:37:22 +02:00
Stef Heyenrath
7a4814e335
Add SaveToFile in the mapping ( #284 )
...
* savetofile
* fix !
2019-06-17 20:34:16 +02:00
Stef Heyenrath
3d845d5be5
Proxy : also save multipart as string in mapping file ( #264 )
...
* ExactObjectMatcher
* BytesEncodingUtils
* BodyParser
* Encoding.ASCII
2019-04-05 14:51:29 +02:00
Stef Heyenrath
1af512fc72
Update BodyParser logic ( #212 )
...
* Update BodyParser logic
* update logic for byte[]
* small update
* MyGetKey
* myget
* dotnet nuget push
* dotnet build
* Release
* .
* StringContent
* 1.0.4.18-preview-02
* Debug
* 1.0.4.18-preview-02
* disable some proxy tests
* myget
* packagesToPack
* fix
* <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
* Release
* <VersionPrefix>1.0.4.18</VersionPrefix>
* fix
* BodyParserTests
* ResponseBodyData (#216 )
* ResponseBodyData
* refactor tests
* LogEntryMapperTests
2018-10-25 14:08:24 +02:00
Stef Heyenrath
2eff243a96
Added JsonMatcher ( #153 )
2018-06-25 19:36:41 +02:00
Alastair Crabtree
a8ddd31c9c
Stef negate matcher ( #134 )
...
* RejectOnMatch (wip)
* RejectOnMatch (wip)
* RejectOnMatch (wip)
* RejectOnMatch (wip)
* docs: improve sample app matcher to show use of reject on match
* Reworked code review comments
2018-05-12 12:51:56 +02:00
Stef Heyenrath
15500a812c
Add some more tests
2018-03-14 21:24:20 +01:00
Stef Heyenrath
c2183ab40c
Increase code coverage ( #107 )
2018-03-13 22:04:43 +01:00