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
0c6129e86b
Add ProxyUrlReplaceSettings to Response ( #1026 )
2023-12-10 09:57:37 +01: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
e5cc6f570c
Code generator improvements ( #940 )
...
* Fix quotation marks escaping in multiline string
* Add support for JsonPartialMatcher and JsonPartialWildcardMatcher in mapping code generator
2023-05-25 20:59:13 +02:00
Cezary Piątek
8444c8c506
Code generator improvements ( #934 )
...
* Handle new line escaping in C# mapping code generator
* Prevent date conversion when value persisted as string
* Handle object properties named as csharp keywords
* Refactor: Extract logic responsible for generating anonymous object definition to a separate class
2023-05-13 09:33:25 +02:00
Stef Heyenrath
59195eaed8
Refactor some code (MappingConverter)
2023-05-07 14:42:00 +02:00
Cezary Piątek
7d9e450814
C# code generator improvements ( #933 )
...
* Escape quotes in generated C# strings
* Handle response with JSON body in C# code generator
2023-05-07 14:37:48 +02:00
Stef Heyenrath
ccd8026884
Update C# mapping code generator for WithStatusCode ( #930 )
2023-05-06 10:24:53 +02:00
Cezary Piątek
1214ba5108
Enrich generated code with status code ( #927 )
2023-05-06 09:40:41 +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
b30e4faab6
Fix issue with application/x-www-form-urlencoded and ExactMatcher ( #907 )
2023-03-19 10:21:47 +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
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
430c01a461
Add implicit operators to WireMockList ( #823 )
...
* Add implicit operators to WireMockList
* .
2022-10-01 10:50:18 +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
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
bb3147eb8d
Remove interface for all Settings ( #736 )
2022-03-10 20:58:18 +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
e9db520cc3
Add TimeSettings (Start, End and TTL) ( #661 )
...
* time
* .
* UT
* using JetBrains.Annotations;
2021-10-27 18:57:13 +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
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
35565f6aa8
WithProxy(...) also use all proxy settings ( #550 )
2020-12-08 08:21:00 +01:00
Stef Heyenrath
1c88f5d97d
fix ( #487 )
2020-07-09 21:37:39 +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
d1b42bf436
wip ( #421 )
2020-02-15 08:30:08 +01:00
Stef Heyenrath
710fc8dcf6
Fixed StatusCode = null or < 0 ( #406 )
...
* .
* fix tests
* responseModel.StatusCode is int statusCodeAsInt && statusCodeAsInt > 0
* < 0
2020-01-25 17:51:38 +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
1b326a54d6
Add WebProxySettings (use when proxying requests) ( #370 )
...
* webproxy part 1
* fixed
* Push to MyGet
* WebProxy standalone
* -n true
* nuget --- "-n true"
* AllowAutoRedirect
* .
2019-12-07 08:52:04 +01:00
Stef Heyenrath
8bafd6a1ba
Transform body as file ( #388 )
...
* .
* fix
2019-12-06 06:52:08 +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
d55e2fb920
Refactor MappingConverter & MatcherMapper ( #323 )
2019-08-17 17:00:44 +00:00
Stef Heyenrath
cb09d65f10
Support WithBody with multiple matchers ( #304 )
2019-07-23 18:02:46 +02:00
Stef Heyenrath
7a4814e335
Add SaveToFile in the mapping ( #284 )
...
* savetofile
* fix !
2019-06-17 20:34:16 +02:00
JackCreativeCrew
12444cc11e
[265] Add file upload to allow mocking of file operations ( #266 )
...
* [265] Add file upload to allow mocking of file operations
* [265] Fix failing test
* Update code + add tests
* LocalFileSystemHandlerTests
* 1.0.13
* Fixed the file post to create the mapping folder if none exists to begin with, otherwise the file upload fails with 404 (can't find the folder to upload to).
* fix tests
* add more tests for LocalFileSystemHandler
* Added the head method for files to check if a file exists without returning it as a body.
* Add a test and fix the response message (head requires no body).
* Fix newline
* Fix newline.
* Fix the number of mapping tests
* Update tests and update client-interface-api
* Cleanup "MappingConverter.cs"
2019-04-11 08:46:14 +02:00
Stef Heyenrath
b99e300acf
Fix Response.Delay property serialization ( #260 )
...
* Fix Response.Delay property serialization issue
* Fix Response.Delay
2019-03-27 08:26:55 +01:00
Stef Heyenrath
1392119f9d
RequestMessageParamMatcher supports Ignore Case for the key ( #254 )
...
* RequestMessageParamMatcher
* /o:
* 1.0.8
2019-03-12 14:42:52 +01:00