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
20eb37b0c8
Add MappingBuilder to build mappings in code and export to Models or JSON ( #869 )
...
* MappingBuilder
* .
* ...
* sc
* t
* .
2023-01-06 19:11:56 +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
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
31298d281d
Support deleting / resetting a single scenario ( #834 )
...
* Support deleting / resetting a single scenario
* move files
2022-10-26 08:43:51 +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
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
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
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
bb3147eb8d
Remove interface for all Settings ( #736 )
2022-03-10 20:58:18 +01:00
Stef Heyenrath
6c68033739
Fix FileSystemWatcher ( #733 )
...
* Define EnhancedFileSystemWatcher in class
* d
2022-03-01 19:45:39 +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
be070af7ad
BodyAsFile should use BodyAsFileIsCached value ( #729 )
...
* BodyAsFile should use BodyAsFileIsCached value
* .
2022-02-21 20:41:51 +01: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
e8e28c21a1
Use NuGet "Stef.Validation" ( #707 )
...
* Use NuGet "Stef.Validation"
* nuget
* .
2021-12-30 10:44:50 +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
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
cb66c04199
Add WireMock.org RestClient ( #631 )
...
* wip...
* x
* .
* .
* .
* r
* 1.4.21-preview-02
* 1.4.21-preview-03
* .
* usings
* wip
* .
* ut
* .
* .
* .
* tests
* .
* comments
* readme
2021-09-16 14:35:08 +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
c41989c0f3
Do not save Mappings when SaveMappingForStatusCodePattern does not match ( #566 )
2021-01-24 12:30:59 +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
55cf0f0416
Fix vulnerability in NuGet dependencies ( #508 )
...
* .
* .
* test
* Microsoft.AspNetCore.Server.IIS
2020-09-29 14:16:01 +02:00
Stef Heyenrath
7abf56eafa
Fix Sonarqube issues
2020-08-13 14:14:04 +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
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
9a532108b8
Mark BlacklistedHeaders and BlacklistedCookies as obsolete ( #492 )
...
* #489
* .
* FluentMockServerSettings
2020-07-27 17:24:24 +02:00
Stef Heyenrath
aff936e3b6
Refactor: extract interfaces ( #484 )
...
* .
* MatchDetail
* rm
* resp
* log
* f
2020-07-05 10:51:49 +02:00
Stef Heyenrath
e2fbfda3f0
An OpenApi (swagger) parser to generate MappingModel or mapping.json file ( #479 )
...
* wip
* .
* .
* nuget
* .
* .
* WithMappingModel
* tests
* json
* codefactor
* sign
* .
* interface
* sln
* comments
2020-07-01 09:57:52 +02:00
Stef Heyenrath
e91be0a4d1
Add support for GZip and Deflate ( #439 )
...
* gzip - wip
* wip
* tests
* fix gzip and deflate
* CheckIfShouldKillVBCSCompiler
* DisableRequestBodyDecompressing
2020-04-10 19:05:09 +02:00
Stef Heyenrath
88dd1b9aa4
Option to disable JSON deserialization ( #434 )
...
* Option to disable JSON deserialization
* Fix build errors, add test case
* make new parameter optional
* set default for contentType as well
2020-03-05 17:59:24 +01:00
Stef Heyenrath
69488ced5f
fixes for Cookie and Header Reject on Match ( #423 )
2020-02-22 11:07:45 +01:00
Noah Lerner
32248b6585
Fix new Delete with body missing from IWireMockAdminApi interface ( #413 )
...
* Fix new Delete with body missing from IWireMockAdminApi interface
* Admin Delete with mappings in body (#409 )
* Add unit test for delete with body
* change order of checks for readability. looks nicer.
* Allow body in DELETE requests
* Fix unit tests according to DELETE supporting body
* Re-run CI
* Fix DELETE with body unit test
* Fix ElementAt index in mappings list
* Fix DELETE with body unit test
* Fix theory tag must be accompanied by some InlineData or Member
* Fix didn't use correct checking syntax
* Fix wrap entire unit test in if region
2020-02-05 19:11:44 +01:00
Stef Heyenrath
307a89d324
AllowAnyHttpStatusCodeInResponse ( #407 )
...
* .
* ,
* PUBLISH_TESTRESULTS
* fix logging
* fix compile error
* codefactor fix
* Debug - Sonar + other things in csproj
2020-01-27 18:47:58 +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
69bbd76ca4
Log Exception ( #405 )
2020-01-25 15:25:47 +01:00
Vitaliy Davydiak
caee5895eb
ResponseModel.StatusCode is deserialized as either string or long. ( #399 )
2020-01-09 20:15:15 +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