Stef Heyenrath
56f65c19e2
Upgrade RamlToOpenApiConverter and YamlDotNet ( #1399 )
...
* Upgrade RamlToOpenApiConverter and YamlDotNet
* fix
2025-12-19 18:33:58 +01:00
Stef Heyenrath
44c1c7aaa8
Fix google protobuf WellKnownTypes: Empty, Duration and Timestamp ( #1231 )
...
* Fix google protobuf WellKnownTypes: Timestamp and Duration
* Fix protobuf Empty
* .
* small refactor
* 006
* fix
* policy
* ---
* <PackageReference Include="ProtoBufJsonConverter" Version="0.7.0" />
2025-01-09 18:50:16 +01:00
Stef Heyenrath
527278e60c
Update the .NET Aspire tests ( #1170 )
...
* Skip unit tests when Docker is not running in Linux container mode using DockerIsRunningInLinuxContainerModeFact
* IgnoreOnContinuousIntegrationFact
2024-09-10 16:14:05 +02:00
cocoon
60931f6273
Fix listen on AnyIP for url 0.0.0.0 ( #1165 )
...
* fix listen to AnyIP if url is 0.0.0.0
* Add Test for listenin on AnyIP for url 0.0.0.0
* add missing using, use var, indent, remove empty line
* remove assert for ipv4/v6 address list
* test only if NET6_0_OR_GREATER
* use same code style
* add missing +
* Asser. to Assert
* split single test into one for IPv4 and one for IPv6
* Create IgnoreOnContinuousIntegrationFact.cs
* Ignore tests if CI/CD
* change to file - scoped namespace and add GITHUB_ACTIONS
* use PortUtils.FindFreeTcpPort()
* add and use GetIPAddressesByFamily
* add using System.Net.Sockets
* use #if for both unit tests and include new helper method inside
2024-09-07 09:31:19 +02:00
Stef Heyenrath
088444024f
Allow setting Content-Length header on the response ( #1158 )
...
* Allow setting Content-Length header on the response
* fix?
2024-08-16 12:14:42 +02:00
Stef Heyenrath
54edf0bebc
Add link to TIOBE Index on main page + fix issues ( #1137 )
...
* Add TIOBE + include SonarAnalyzer.CSharp
* .
* cp
* Copyright © WireMock.Net
* more fixes
* fix
* xpath
* if (Matchers == null || !Matchers.Any())
* if (Matchers != null)
* ?
* .
* .
2024-07-18 18:06:04 +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
8b91cec457
Add .NET 8 ( #1018 )
...
* Add .NET 8
* 'Use .NET 8'
* tests 8
* 8
* tc8
* ci
* CI
2023-12-04 18:05:18 +01:00
Stef Heyenrath
62fa4666b5
Add unit tests for HttpClient with WebProxy ( #1010 )
...
* Add test for SSL / Https
* Add unit tests for HttpClient with WebProxy
* cert.pem
* x
* skip
* example google
* revert
* host tests
* sonar
2023-10-14 17:55:29 +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
d29f3e81f3
Add property 'IsStartedWithAdminInterface' to 'IWireMockServer' ( #931 )
...
* Add property 'IsStartedWithAdminInterface' to 'IWireMockServer'
* update tests
* .
2023-05-06 13:12:00 +02:00
Stef Heyenrath
795dcf42e2
Add .Net 7 ( #853 )
...
* Add .NET 7
* UseDotNet
* 7
* Ubuntu 6
* 'Use .NET 7'
* 67
* .
* use 7
* use 7
* test = 7
* coverage.7.0.opencover.xml
2022-12-03 11:03:57 +01: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
cbf82836f5
Add Port and Url property to WireMockServer ( #740 )
2022-03-26 11:03:37 +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
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
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
12b868401d
fix test
2021-12-12 15:55:07 +01:00
Stef Heyenrath
3dafd2e725
update WireMockServer_Should_delay_responses_for_a_given_route
2021-12-08 21:56:26 +01: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
Ben Arnold
6f7d2c83f5
Remove an approximate two second delay in response to the first request from a new socket connection, only occuring on some Windows 10 machines. ( #597 )
...
A side-effect of this fix is that is also allows connections to IPv6 addresses.
2021-03-21 09:12:19 +01:00
Stef Heyenrath
92923a12ae
Move CSharpCodeMatcher to a new project ( #548 )
...
* matcher
* wip
* fix
* <VersionPrefix>1.4.0</VersionPrefix>
* .
* x
* ?
* netstandard2.1
* {}
* test
* Fix: Assembly with same name is already loaded
* _format file
* AssemblyFile = $"WireMock.CodeHelper.Class{Guid.NewGuid()}"
* AssemblyFile = $"WireMock.CodeHelper.Class{Guid.NewGuid().ToString().Replace("-", "")}"
* GC
* x
* remove load ex
* ret
* readme
* no GC
* GetImplementationTypeByInterface
* ``
* PluginLoader
* type
2021-01-12 16:56:03 +01:00
Stef Heyenrath
db2caadf70
Fix SonarCloud OpenCover (coverlet-coverage) ( #545 )
2020-11-30 15:48:17 +01:00
Stef Heyenrath
a0fdc002c8
WithCallback should use also use enum HttpStatusCode ( #535 )
...
* Fix #533
* simplyfy code
2020-11-10 10:20:57 +01: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
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
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