Stef Heyenrath
f5d624eeed
Fix issue with FluentBuilder ( #628 )
2021-08-06 12:17:05 +02:00
Stef Heyenrath
0f99e06acc
Add NotNullOrEmptyMatcher ( #625 )
2021-08-04 16:22:22 +02:00
Stef Heyenrath
9d0682bff6
Add FluentBuilder for client models ( #622 )
2021-08-04 15:40:35 +02:00
Stef Heyenrath
4b435faf0b
Update Handlebars.Net.Helpers.XPath to fix issue with 'xml version' ( #619 )
...
Update Handlebars.Net.Helpers.XPath to fix issue with 'xml version'
2021-07-10 11:43:59 +02:00
Stef Heyenrath
6f42aa99bc
Handlebars.Net.Helpers.Humanizer ( #617 )
2021-07-07 17:02:15 +02:00
Stef Heyenrath
4052a0ef3b
Upgrade Handlebars.Net.Helpers to 2.19 ( #616 )
...
* Upgrade Handlebars.Net.Helpers to 2.19
* fix ut
2021-06-05 10:59:09 +02:00
Stef Heyenrath
b04000bfdd
Add support for multiple webhooks ( #615 )
2021-05-19 13:58:48 +02:00
starkpl
80b5eaac6e
Add AdditionalServiceRegistration action for custom ASP.NET Core DI setup ( #611 )
2021-05-11 07:37:20 +02:00
Stef Heyenrath
d91b5d5831
Add possibility to use settings to generate MappingModel models with wildcard path parameters. ( #609 )
...
* Add optional settings for WithMappingFromOpenApi
* .
* .
* cleanup
2021-04-26 14:44:45 +02:00
dependabot[bot]
29974c7ad4
Bump System.Net.Http from 4.3.3 to 4.3.4 in /src/WireMock.Net ( #605 )
...
Bumps System.Net.Http from 4.3.3 to 4.3.4.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:48:39 +02:00
Stef Heyenrath
fbecd3b119
Fix match logic ( #604 )
2021-04-18 21:30:03 +02:00
Stef Heyenrath
969b0da8e2
Fix callback with Headers ( #603 )
2021-04-15 19:41:45 +02:00
Stef Heyenrath
8140b37095
WithProxy() should save the new mapping ( #600 )
...
* WithProxy should save the new mapping
* fix ut
* .
2021-03-31 18:17:27 +02:00
Stef Heyenrath
d758301e4f
Webhook ( #591 )
...
Webhook
2021-03-24 18:15:31 +01: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
2fb0f92a2d
Use Handlebars.Net.Helpers Version="2.1.2" ( #595 )
2021-03-19 15:17:39 +01:00
Stef Heyenrath
ddf2b49240
wip ( #594 )
2021-03-18 14:29:13 +01:00
Stef Heyenrath
aa8510fab3
Fix WithCallback logic when using other fluent builder statements ( #587 )
2021-02-26 13:10:25 +01:00
Roman Vovk
7a8f4c3630
Fix response date header ( #585 )
2021-02-11 11:49:24 +01:00
Stef Heyenrath
23709fa587
Use new Handlebars.Net.Helpers ( #581 )
2021-02-09 20:35:44 +01:00
Stef Heyenrath
e4071b9c6a
Net5 issue ( #579 )
...
* 472
* .
* .
* p
* buffers
* 3
* Fix date
* fix
2021-02-02 22:21:30 +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
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
f104b24f66
Update comment for SaveMappingToFile ( #553 )
2020-12-23 08:46:24 +01:00
Stef Heyenrath
a228cdcb7c
Do not save "admin" mappings when running in Proxy - mode ( #561 )
...
* wip
* .
* .
2020-12-23 08:46:07 +01:00
Stef Heyenrath
fae27f9dc7
Add more tests for Proxy with Authorization ( #555 )
...
* WireMockServer_Proxy_Should_preserve_Authorization_header_in_proxied_request
* !admin
* x
* .
2020-12-16 22:14:53 +01:00
Stef Heyenrath
65e7dbfbd3
[Obsolete("This class will be moved to a separate NuGet package 'WireMock.Net.Matchers.CSharpCode'")] ( #551 )
2020-12-08 09:32:33 +01:00
Stef Heyenrath
35565f6aa8
WithProxy(...) also use all proxy settings ( #550 )
2020-12-08 08:21:00 +01:00
Stef Heyenrath
3dfee689b5
Fix Proxying with SSL and NetCoreApp3.1 ( #547 )
...
* Fix Proxying with SSL and NetCoreApp3.1
* add test
* ServicePointManager.ServerCertificateValidationCallback = (message, cert, chain, errors) => true;
* dotnet dev-certs https
* x
* .
2020-12-03 09:36:42 +01:00
Stef Heyenrath
db2caadf70
Fix SonarCloud OpenCover (coverlet-coverage) ( #545 )
2020-11-30 15:48:17 +01:00
Stef Heyenrath
37d81aabad
.NET 5 ( #543 )
2020-11-28 11:03:55 +01:00
Stef Heyenrath
45713eb0d9
Create dotnet-wiremock tool ( #542 )
...
* dotnet tool
* .
* c
* x
* ### As a dotnet tool
* help
* v
2020-11-25 15:36:01 +01:00
Stef Heyenrath
4fb455a1b1
Add more info to IWireMockServer
2020-11-24 11:15:52 +00:00
Gleb Osokin
548fc2c2c8
Support for partial JSON matching ( #539 )
...
* support Json partial match with JsonPartialMatcher
* fix erroneous filenames
* add newline
* newlines fix
* add JsonPartialMatcher to mapper
* curly braces for ifs
* fix JToken type comparison
* more test cases
* rename AreEqual -> IsMatch + more test cases
* separate tests for JPath matcher values
Co-authored-by: Gleb Osokin <gleb.osokin@avira.com >
2020-11-17 17:18:58 +01:00
Mahmoud Ali
c104b8beba
Add assertions for ClientIP, Url and ProxyUrl ( #529 )
...
* Add assertions for ClientIP Url and ProxyUrl
* Requested changes
2020-11-10 16:41:44 +01:00
Stef Heyenrath
09533f1e3a
Add Custom Certificate settings ( #537 )
2020-11-10 16:40:15 +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
b8cbeb55b9
WithCallback-Async ( #531 )
2020-11-04 17:32:32 +01:00
Stef Heyenrath
6b3bbd8540
Handlebars.Net.Helpers Version="1.1.0" ( #525 )
2020-10-17 08:47:11 +02:00
Eduardo Cáceres
94e176dd85
Make kestrel limits configurable ( #520 )
...
* Allow kestrel options to be overriden with values of config files and environment variables (see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-3.1#kestrel-options )
* Make appsettings.json optional
* Move changes to AspNetCoreSelfHost.Framework files.
* Implement ConfigureKestrelServerOptions for .NET Standard 1.3.
2020-10-15 16:05:07 +02:00
Stef Heyenrath
65e01937a6
_logger.Info("WireMock.Net server using .NET Core 3.1");
2020-10-14 21:38:17 +02:00
Stef Heyenrath
c02dbeb5ee
Fix reading JsonMatcher-mapping with object as pattern ( #505 )
...
* Fix reading mapping with object pattern for JsonMatcher
* .
* .
2020-10-14 20:21:51 +02:00
Stef Heyenrath
5f8bdff936
1.3.1
2020-09-30 18:18:33 +02:00
Anthony Iacono
942fc3a385
Adding netcoreapp3.1 as a target framework ( #509 )
...
* Adding netcoreapp3.0 and netcoreapp3.1 as a target framework
* Expanding NETSTANDARD check to include ASP.NET Core targets
* End of life netcoreapp3.0 changes and using NETCOREAPP3_1 instead of USE_ASPNETCORE where possible
2020-09-30 18:11:32 +02: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