Stef Heyenrath
36037627bc
WebHook - Transform Url ( #824 )
...
* WebHook - Url
* .
2022-10-15 08:55:05 +02:00
Stef Heyenrath
55afc8041f
ExactMatcher : IgnoreCase ( #817 )
...
* ...
* mm
* fix some null warnings
* fx
2022-10-15 08:23:58 +02:00
Stef Heyenrath
b523ab9125
Some fixes to WireMock.Net.Assertions ( #816 )
...
* Add extra unit test for UsingPost
* .X
* ok
* ok2
* header
2022-10-15 08:21:48 +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
74480c8ba9
Add support to use 'mapping' object in in reponse templating ( #798 )
...
* mapping
* .
* .
2022-09-03 08:52:05 +02:00
Rafael Moreira Fonseca
862c04e722
Add assertions for request methods ( #802 )
...
* Add assertions for request methods
* Fix assertions tests when using connect method
* Remove unnecessary clear and fix assert condition
2022-09-03 08:49:39 +02:00
Stef Heyenrath
2d4f513753
Update some NuGet packages ( #781 )
2022-08-24 08:26:35 +02:00
Stef Heyenrath
3d29d7fb2f
Add Response.WithBody with IJsonConverter ( #790 )
...
* Response_ProvideResponse_WithBody_IJsonConverter_SystemTextJson
* Guard.NotNull(converter);
* .
* 0.1.0
* j
2022-08-23 15:49:54 +02:00
Florian
f704de65d8
Fixes header match handling using RejectOnMatch behavior ( #797 )
...
Co-authored-by: flts <>
2022-08-23 07:52:45 +02:00
Stef Heyenrath
f0d6ed26bc
Add check for duplicate Guids when posting multiple mappings in one request ( #795 )
...
* Add check for DuplicateGuids
* Add check for duplicate Guids when posting mapping(s)
* mappingModels
* fix ut
2022-08-22 20:05:52 +02:00
Stef Heyenrath
e2bd56531d
Add support for Matcher.Pattern in Pact Body mapping ( #789 )
...
* Add support for Matcher.Pattern in Pact Body mapping
* SavePact_Get_Request_And_Response_WithNullBody
2022-08-15 09:28:16 +02:00
Stef Heyenrath
d2a1d0f069
Fix WithBody when using Pact and added more nullable annotations ( #783 )
...
* More nullable annotations
* .
* .
* FIX
* pact
* .
* p
* xxx
* ...
* auth
* array
* ...
2022-08-11 10:57:33 +02:00
Stef Heyenrath
b1af37f044
Fix Proxying when StartAdminInterface=true ( #778 )
...
* ProxyHelper fixes
* .
* more reformat
* .
2022-08-09 19:41:45 +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
150b448d07
Added some more tests for JsonMatcher + refactored some code to use nullable ( #770 )
2022-07-09 15:34:17 +02:00
Stef Heyenrath
b1032c9dcd
Update WireMock.Org.Abstractions and WireMock.Org.RestClient ( #765 )
...
* Update WireMock.Org.Abstractions and WireMock.Org.RestClient
* .
* rename
2022-07-08 11:02:18 +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
8d57f37261
Add WireMock.Net.xUnit project ( #759 )
...
* WireMock.Net.xunit
* Xunit
* c
* .
* x
2022-05-21 09:00:24 +02:00
Stef Heyenrath
5e301fd74b
Swagger support ( #749 )
...
* r
* fix
* sw
* x
* s
* .
* .
* .
* CreateTypeFromJObject
* .
* .
* f
* c
* .
* .
* .
* .
* .
* .
* ok
* ,
* .
* .
* .
* .
* n
* pact
* fix
* schema
* null
* fluent
* r
* -p
* .
* .
* refs
* .
2022-05-13 22:01:46 +02:00
Stef Heyenrath
0d8b3b1438
Update NuGets packages ( #751 )
...
* .
* re
* .
* fb
* .
2022-04-30 16:20:53 +02:00
Stef Heyenrath
14a5f37bc6
Newtonsoft.Json 13.0.1
2022-04-24 19:26:23 +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
2e5bfc41d5
Update the logic for ProxyAndRecord ( #747 )
...
* .
* set
* .
* .
* .
* .
* prio
* appsettings
* TinyMapperUtils
* set
* p
* nullable
* .
* ,
* fs
* .
* .
* --PreferProxyMapping
2022-04-21 17:58:44 +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
cbf82836f5
Add Port and Url property to WireMockServer ( #740 )
2022-03-26 11:03:37 +01:00
Stef Heyenrath
11c0782673
Upgrade NuGet for RandomDataGenerator.Net to 1.0.14 ( #739 )
...
* RandomDataGenerator.Net 1.0.14
* .
2022-03-25 20:34:39 +01:00
Stef Heyenrath
bb3147eb8d
Remove interface for all Settings ( #736 )
2022-03-10 20:58:18 +01:00
Stef Heyenrath
bb33b3f01a
Update NuGet packages ( #728 )
...
* Update NuGet pacakges
* .
* .
* 3
* FluentBuilder
* 10000
* typo
* f
* .
* net6
* fix build
* t
* t2
* net6
* .
* <PackageReference Include="System.Text.Encodings.Web" Version="4.7.2" />
* .
* ...
* .
* fix
2022-02-25 16:59:31 +01:00
Stef Heyenrath
f919a03d7f
Fixed for 'Response BodyAsJson with JArray does not work' ( #722 )
2022-02-09 19:13:19 +01:00
Stef Heyenrath
f2fab98abb
MatcherMapper : Always use Pattern ( #716 )
2022-01-27 12:33:48 +01:00
Stef Heyenrath
ccd433b202
Add support for Cors ( #714 )
2022-01-24 12:26:19 +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
b153024de3
Add ReplaceNodeOption flag ( #710 )
2022-01-05 17:03:29 +01: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
1d1ff4a418
SaveUnmatchedRequests ( #703 )
2021-12-24 09:34:26 +01:00
Stef Heyenrath
12b868401d
fix test
2021-12-12 15:55:07 +01:00
Stef Heyenrath
6943b90da6
RegexExtended in settings ( #700 )
...
* Add extra unittest for RegexExtended
* settings
2021-12-12 15:40:38 +01:00
Michael Brogdon
4a434b5dba
GUID Pattern support in RegexMatcher ( #699 )
...
* Add the RegexGuid class
* Use of RegexGuid in the RegexMatcher
* Fix up the CodeFactor violations
* Rename RegexGuid --> RegexExtended
2021-12-11 10:57:15 +01:00
Stef Heyenrath
3dafd2e725
update WireMockServer_Should_delay_responses_for_a_given_route
2021-12-08 21:56:26 +01:00
Stef Heyenrath
48cfd2d20e
Upgrade some NuGet packages (Codecov, coverlet and NFluent) ( #689 )
2021-11-19 11:42:48 +01:00
Stef Heyenrath
823917a4ab
Simplify test 'Response_ProvideResponseAsync_Handlebars_Humanizer'
2021-11-05 08:03:57 +00:00
Stef Heyenrath
6e5e629525
"RandomDataGenerator.Net" Version="1.0.13"
2021-10-30 09:15:43 +02: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
affe388e30
Add support for AzureAD authentication for REST admin interface ( #637 )
2021-10-20 16:39:51 +02:00
Stef Heyenrath
48b3e7a305
Add more tests for WithBody (Json and String) and WildcardMatcher
2021-10-19 09:28:52 +00:00
Stef Heyenrath
6194f4e460
Update NotNullOrEmptyMatcher to also implement IStringMatcher ( #654 )
...
* Update NotNullOrEmptyMatcher to also implement IStringMatcher
* NotNullOrEmptyMatcher_GetPatterns_Should_Return_EmptyArray
* 24
2021-10-15 12:59:03 +02:00
Stef Heyenrath
57cc616aa3
Implement PatternAsFile for StringMatcher ( #651 )
2021-10-15 08:54:12 +02:00