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
a8339a0867
FindRequestByMappingGuidAsync ( #1043 )
...
* FindRequestByMappingGuidAsync
* fix
* sc
2023-12-21 20:03:22 +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
sameena syed
97d26338e6
Proxy all requests - even a repeated one ( #1038 )
...
* Adding proxyall
* Adding proxyAll flag
* Reverting extra spaces added
* Make proxyall to true
* Resolving review comments for proxyall
* Resolving codefactor spaces in the code
* Adding proxyall parser in wmserversettingsparser
---------
Co-authored-by: Sameena Syed <sameena.syed@nexigroup.com >
2023-12-11 17:16:30 +01:00
Stef Heyenrath
0c6129e86b
Add ProxyUrlReplaceSettings to Response ( #1026 )
2023-12-10 09:57:37 +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
0a2763c06e
Add IgnoreCase option to ProxyUrlReplaceSettings ( #925 )
...
* Add IgnoreCase option to ProxyUrlReplaceSettings
* fix
2023-04-23 11:56:08 +02:00
nudejustin
9ef8bd0b7b
Allow removal of prefix when proxying to another server ( #630 ) ( #924 )
...
* #630 Allow removal of prefix when proxying to another server
* #630 Rename replace to replace settings and ensure properties used in place of fields
* #630 Update replace settings type name to ProxyUrlReplaceSettings
* #630 Add admin model and update settings parser to parse new values
* Fix formatting issues
* #630 Ensure json mapping between admin model and internal model takes place
* #630 Refactor parsing and structure of extracting new proxy url
* Reduce function complexity
* #630 Fix line length issues and remove try prefix from parser methods
2023-04-23 09:31:38 +02:00
Stef Heyenrath
090e0eb437
Add WithProbability ( #922 )
...
* WithProbability
* fix
* x
* ,
* .
* .
* .
2023-04-12 20:48:53 +02:00
Stef Heyenrath
090989ea7f
Update comments for models ( #913 )
2023-03-24 09:20:23 +01:00
Stef Heyenrath
1221d52c69
Add DeserializeFormUrl Encoded to the settings ( #905 )
...
* Add DeserializeFormUrlEncoded to Settings
* EmptyArray<>.Value
* .
2023-03-19 09:19:53 +01: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
billybraga
9ed6a75384
Add client certificate support ( #862 )
...
* Add client certificate support
* Add missing test certificate file
* Review fixes
* Review fixes
* Review fixes
* Review fixes
2022-12-11 20:30: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
ef5f988786
Add Settings.QueryParameterMultipleValueSupport ( #836 )
...
* QueryParameterMultipleValueSupport
* .
* ,
* ,
2022-11-08 19:27:44 +01:00
Stef Heyenrath
0972d2cb8f
Add option to ProxySettings to append guid to mapping file ( #838 )
...
* Add option to ProxySettings to append guid to mapping file
* .
* .
* .
2022-10-29 13:58:29 +02: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
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
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
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
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
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
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
ccd433b202
Add support for Cors ( #714 )
2022-01-24 12:26:19 +01:00
Stef Heyenrath
b153024de3
Add ReplaceNodeOption flag ( #710 )
2022-01-05 17:03:29 +01:00
Stef Heyenrath
1d1ff4a418
SaveUnmatchedRequests ( #703 )
2021-12-24 09:34:26 +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
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
9d0682bff6
Add FluentBuilder for client models ( #622 )
2021-08-04 15:40:35 +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
c35315e610
Refactor Transformer (add Scriban) ( #562 )
2021-01-19 21:11:33 +01: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
b55435ddac
HandleRequestsSynchronously ( #496 )
2020-08-07 08:08:54 +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
c484b48c35
Add PartialMatch to logging / logentries ( #482 )
...
* .
* FluentAssertions
* .
* .
2020-07-04 11:39:50 +02:00
Stef Heyenrath
5f4c688e49
fix ( #461 )
2020-04-29 18:01:54 +02:00
Stef Heyenrath
69488ced5f
fixes for Cookie and Header Reject on Match ( #423 )
2020-02-22 11:07:45 +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