Commit Graph

85 Commits

Author SHA1 Message Date
Stef Heyenrath eda71bd725 Allow all headers to be set as Response headers (#142)
* Allow all headers to be set as Response headers

* RunTestDifferentPort

* Fix Proxy_Should_change_absolute_location_header_in_proxied_response test

* Fix OwinResponseMapper

* Fix test

* 1.0.3.18
2018-05-25 21:04:58 +02:00
Alastair Crabtree a8ddd31c9c Stef negate matcher (#134)
* RejectOnMatch (wip)

* RejectOnMatch (wip)

* RejectOnMatch (wip)

* RejectOnMatch (wip)

* docs: improve sample app matcher to show use of reject on match

* Reworked code review comments
2018-05-12 12:51:56 +02:00
Stef Heyenrath df4a1f628a BodyAsJsonIndented (#113) 2018-03-28 09:51:01 +02:00
Stef Heyenrath a4a9f2c862 Add WireMock.Net.Service example 2018-03-18 10:41:31 +01:00
Stef Heyenrath f604be3c02 Add logger to WireMock WebApp 2018-03-10 14:53:50 +01:00
Stef Heyenrath 8d109c69eb Fix #104 2018-03-09 08:20:48 +01:00
Stef Heyenrath 3e634c2fde Example : WireMock.Net.StandAlone.Net461 (#104) 2018-03-08 18:28:53 +01:00
Stef Heyenrath 17741cbc50 FIx for IsStarted (#93) 2018-02-28 08:34:57 +01:00
Stef Heyenrath 938d3fb095 Replace log4net by custom logger (#94) (#96)
* Replace log4net by custom logger

* WireMockNullLogger
2018-02-28 07:01:03 +00:00
Stef Heyenrath 0c25b2e9f2 Json fixes (#91) (#92)
* Fixes for JsonPath

* More tests

* Fixes + added tests
2018-02-23 12:29:43 +00:00
Stef Heyenrath e21582aacf Add log4net logging (#89)
* logging + fixed proxy isses

* Add more logging

* comments

* 1.0.3.1
2018-02-14 16:13:05 +00:00
Stef Heyenrath b248c8c6e5 EnhancedFileSystemWatcher (#86) 2018-02-03 23:22:29 +01:00
Stef Heyenrath 180526c8b4 self-signed-certificate + #83 2018-02-03 12:06:12 +01:00
Stef Heyenrath 361d40189b Fixed https proxy for netstandard 1.3 and netstandard 2.0 (#85) 2018-02-02 22:52:08 +01:00
Stef Heyenrath 66b2ff16de Implemented #82 2018-02-02 11:17:37 +01:00
Stef Heyenrath 141ed5d96c code update 2018-01-23 08:06:55 +01:00
Stef Heyenrath 51bd9ec186 Add WireMock.Net.WebApplication example (#75) 2018-01-11 19:38:58 +01:00
Stef Heyenrath d0fc889f42 Fix for url encoded path + params (1.0.2.10) - #72
Fix for url encoded path + params (1.0.2.10)
2017-12-12 18:18:04 +01:00
Stef Heyenrath 601af2d6b2 Fixed restricted headers on response (#71)
* Fixed restricted headers on response

* appveyor
2017-12-07 22:16:19 +01:00
Stef Heyenrath e25c873765 Update ProxyAndRecord
ProxyAndRecord does not save query-parameters, headers and body (#57)
2017-11-07 21:52:30 +01:00
Oleksandr Liakhevych c8c9ab99c5 Fix proxy headers handling (#60)
* Fix proxy headers handling

* Small refactor and moved proxy tests to new test-file.
2017-10-28 18:59:34 +02:00
Oleksandr Liakhevych d134684bcb Add ability to provide multiple values for headers in response (#59)
* Add ability to provide multiple values for headers

* Updated json model
2017-10-27 21:49:03 +02:00
Stef Heyenrath a96b7bca1e WithBodyFromFile (relative) 2017-10-27 12:12:13 +02:00
Stef Heyenrath cbe6a0a2b4 WithBodyFromFile (#56) 2017-10-25 21:33:57 +02:00
Stef Heyenrath 656f7f5432 HttpClientHelper : BodyAsBytes 2017-10-23 20:56:01 +02:00
Stef Heyenrath 37244d5c2f PreWireMockMiddlewareInit / PostWireMockMiddlewareInit 2017-10-17 20:47:19 +02:00
Stef Heyenrath 07f03997c0 Fix issues with Bytes for Response 2017-10-14 10:48:58 +02:00
Stef Heyenrath 8386d93e0d scenario and state (mapping json model) 2017-10-07 14:44:01 +02:00
Stef Heyenrath 8827531391 Add start delay from 100ms to fix startup issue on MacOS (#44) 2017-09-30 10:03:00 +02:00
Stef Heyenrath 139ea77888 Add ClientIP to RequestMessage / RequestLog (#46) 2017-09-18 20:01:38 +02:00
Stef Heyenrath f776911ef8 fix projects + sln and updated readme 2017-08-27 11:16:41 +02:00
Stef Heyenrath f8ad2cd3d6 Add RequestLogExpirationDuration and MaxRequestLogCount (#43) (#45) 2017-08-20 11:20:35 +02:00
Stef Heyenrath 8d072e8b47 Dotnet 20 preview final (#41)
* 1.0.2.3-preview2-final-01

* fixes for AspNetCoreSelfHost (Task...)

* enable all target frameworks again
2017-08-11 13:27:18 +02:00
Stef Heyenrath 2aee658dfa Listen on http://*:9090 (#39)
* Support for http://*:9090 urls

* Update version to 1.0.2.3
2017-08-08 22:58:12 +02:00
Stef Heyenrath f38c24e8c4 FindLogEntries and refactored some code (#34) 2017-06-17 09:18:38 +02:00
phillee007 65ac8c6462 Revert changes that were made by mistake in prior PR (#35) 2017-06-17 00:03:07 +02:00
phillee007 49ce2f0dfb [Feature] Add support for client certificate password and test with real services that require client certificate auth (#32)
* Add support for client certificate password and test with some real services that require client certificates. Also update so when proxying, the path and query will be passed to the proxied api.

* Add correct param

* Update to read certificate from store instead of file

* Add support for client certificate password and test with some real services that require client certificates. Also update so when proxying, the path and query will be passed to the proxied api.

* Add correct param

* Fixup PR issues

* Add support for client certificate password and test with some real services that require client certificates. Also update so when proxying, the path and query will be passed to the proxied api.

* Add correct param

* Fixup PR issues
2017-06-16 11:36:10 +02:00
Stef Heyenrath 85e51b6240 IFluentMockServerAdmin : requests 2017-06-15 11:05:03 +02:00
Stef Heyenrath 538195551d fix WireMock.Net.ConsoleTest.Net452 2017-06-14 14:12:42 +02:00
Stef Heyenrath 7111ab384b 1.0.2.1 2017-06-14 12:59:01 +02:00
Stef Heyenrath 8ed82f3124 WireMock.Net.StandAlone (#31) 2017-06-10 09:44:58 +02:00
Stef Heyenrath 5d6040df61 example: oauth2 & /helloworld 2017-05-24 23:45:36 +02:00
Stef Heyenrath 8e32fd0be2 Example: oauth2/access 2017-05-24 23:18:40 +02:00
Stef Heyenrath 360a1227e4 Added X509Certificate2Filename (#27) 2017-05-16 20:20:55 +02:00
Stef Heyenrath 961e8b555f Update standalone commandline parsing (#27) 2017-05-13 10:10:17 +02:00
Stef Heyenrath 4ada6d3567 SaveMappingToFile #27 2017-05-12 22:21:55 +02:00
Stef Heyenrath 31261ec45d Initial code for proxy and record #27 2017-05-09 21:43:10 +02:00
Stef Heyenrath 2c8142b93d WithProxy 2017-05-07 10:01:31 +02:00
Stef Heyenrath 7bfd9f3343 Proxy (#15) 2017-05-05 22:25:57 +02:00
Stef Heyenrath 453cef90e5 merge netstandard into main (#26)
* #23

* #23 "Newtonsoft.Json" Version="10.0.2"

* owin

* AspNetCore

* Fix appveyor build

* fix start/stop in untitests
2017-04-26 21:28:12 +02:00