Stef Heyenrath
bc75db8c8c
Fix RequestMessageParamMatcher : RejectOnMatch ( #1006 )
2023-10-09 18:28:22 +02: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
9f9fc85a64
JmesPathMatcherTests ( #998 )
2023-09-27 21:42:34 +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
b9a8ee4145
Fixed logic for SaveUnmatchedRequests ( #1002 )
...
* Fixed logic for SaveUnmatchedRequests
* fix
2023-09-21 11:38:01 +02:00
Stef Heyenrath
59aab9e1c3
Remove dependency on Microsoft.AspNet.WebApi.Client ( #996 )
...
* Using an alias for System.Net.Http.Formatting
* .
* fix
* space
2023-08-29 17:53:17 +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
f0139eb837
Update comment in JsonPathMatcher.cs
2023-08-17 17:22:05 +02:00
DayLightDancer
8adf34fb56
Update JSONPathMatcher.cs to cover the string path selection to a child ( #993 )
...
* Update JSONPathMatcher.cs to cover the string path selection to a child
The .SelectToken method accept string path selection and JSONPath queries. The current code works only for the queries because the result is JObject. When the string path is selected the result is JValue and event with a valid result the code the code doesn't return valued result.
https://www.newtonsoft.com/json/help/html/SelectToken.htm
* Added unit tests
* Addressed the comments
* Addressed the comments
* Update JSONPathMatcher.cs
2023-08-17 17:18:32 +02:00
Stef Heyenrath
b986633eca
Fix MimeKitLite NuGet include ( #989 )
...
* Fix 500
* MimeKiteLite : fix NuGet include
* .
2023-08-04 10:44:53 +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
a58ead7b4e
Upgrade to Handlebars.Net.Helpers 2.4.0 to update XPath.SelectTokens and XPath.EvaluateToString ( #976 )
...
* Upgrade to Handlebars.Net.Helpers 2.4.0 to update XPath.SelectTokens and XPath.EvaluateToString
* fix
2023-07-20 21:49:00 +02:00
Tymur Nesterenko
58bfb3ea33
JsonPartialMatcher - match guid and string ( #972 )
...
* JsonPartialMatcher - match guid and string (#971 )
* JsonPartialMatcher - match guid and string. Add Regex with Guid test (#971 )
2023-07-19 22:34:02 +02:00
Stef Heyenrath
98b8ede826
Fixed JsonPathMatcher to match nested objects ( #966 )
...
* Fixed JsonPathMatcher to match nested objects
* fix
* .
* 100%
2023-07-15 09:29:13 +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
Stef Heyenrath
c92183558b
Fixed logic for FluentAssertions WithHeader ( #959 )
2023-06-23 15:20:57 +02:00
Stef Heyenrath
7ca70309cb
Support setting WireMockServerSettings via Environment ( #954 )
...
* Support parsing environment variables (WireMockServerSettings__)
* case ignore
* fix
* SimpleSettingsParserTests
* .
* int
* more test
2023-06-22 10:35:21 +02:00
Stef Heyenrath
5d0bf6f4e1
Fix some SonarCloud issues ( #955 )
...
* Fixed some SonarCloud issues
* if (value.Contains('\n'))
2023-06-13 19:31:04 +02:00
Stef Heyenrath
dc4c8d1dba
WireMock.Net.Testcontainers ( #948 )
...
* WireMock.Net.Testcontainers
* .
* logger?
* .
* .
* WatchStaticMappings
* linux
* .
* --
* ContainerInfo
* .
* 02
* .
* fix
* .
2023-06-11 13:55:57 +02:00
Stef Heyenrath
adf1914877
Allow setting the Content-Length header for a HTTP method HEAD ( #951 )
...
* Allow setting the Content-Length header for a HTTP method HEAD
* .
2023-06-06 22:44:14 +02:00
Stef Heyenrath
c107e38e3b
Fix WireMock.Net.FluentAssertions for net47
2023-06-02 12:03:12 +02:00
Stef Heyenrath
a77c4fe1ac
Add ".NET Framework 4.7" to WireMock.Net.FluentAssertions ( #949 )
2023-06-01 18:06:28 +02:00
Stef Heyenrath
c1e71707c5
Add warning logging when sending a request to a Webhook does not return status 200 ( #946 )
2023-05-28 10:53:54 +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
Stef Heyenrath
7c3a0c815d
Add GetParameter method to IRequestMessage ( #942 )
2023-05-25 15:14:02 +02:00
Stef Heyenrath
e61f08fe48
WireMockMiddleware should use HandleRequestsSynchronously correctly ( #939 )
2023-05-19 21:43:14 +02:00
Stef Heyenrath
11f4c47851
Add more unitests for CSharpFormatter utils ( #938 )
...
* Add unit-tests for CSharpFormatter
* .
* t
2023-05-19 16:14:26 +02:00
Stef Heyenrath
27682d0ce4
1.5.25 + Fixes in CSharpFormatter
2023-05-13 11:15:40 +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
d29f3e81f3
Add property 'IsStartedWithAdminInterface' to 'IWireMockServer' ( #931 )
...
* Add property 'IsStartedWithAdminInterface' to 'IWireMockServer'
* update tests
* .
2023-05-06 13:12:00 +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
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
f3d52adbb2
1.5.22
2023-04-08 21:37:18 +02:00
Stef Heyenrath
a8775c3b77
Include WireMockOpenApiParser project ( #916 )
...
* Fix some nullability warnings for WireMockOpenApiParser
* .
* .
* .
* opt
* FromText
* ab
* .
* private const string AdminOpenApi = "/__admin/openapi";
* fix test
* rnd
* .
* urldetails
* 0
* ,
* .
* tests
* .
* CompressionUtilsTests
* ut
* .
2023-04-08 21:25:17 +02:00
Walid Haidari
95bf8e31aa
#912 add excluded params to proxy mapping ( #914 )
2023-03-24 16:35:09 +01:00
Stef Heyenrath
090989ea7f
Update comments for models ( #913 )
2023-03-24 09:20:23 +01:00
Stef Heyenrath
651486f718
Make some classes internal + chnage some files to file-scoped namespaces
2023-03-22 21:57:23 +01:00
Stef Heyenrath
7ca4294de6
Fixed QueryStringParser for UrlEncoded values ( #911 )
2023-03-22 16:15:50 +01:00
Stef Heyenrath
66245409f9
RequestBuilder : add WithBodyAsJson and WithBody (with IJsonConverter) ( #908 )
...
* RequestBuilder : add WithBodyAsJson and WithBody (with IJsonConverter)
* tests
2023-03-22 15:47:58 +01: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
78b94d2ebc
Add WithBody with IDictionary (form-urlencoded values) ( #903 )
...
* .
* x
* fx
* fix
* f
* tests
* fix tests
* add tst
2023-03-17 17:08:45 +01:00
Stef Heyenrath
19701f5260
Update Handlebars.Net.Helpers to 2.3.15 ( #904 )
2023-03-15 18:30:34 +01:00
Stef Heyenrath
1269fb178f
1.5.18
2023-03-09 19:49:29 +01:00