Commit Graph

488 Commits

Author SHA1 Message Date
Stef Heyenrath c2183ab40c Increase code coverage (#107) 2018-03-13 22:04:43 +01:00
Stef Heyenrath 83d71bb24e More fixes for #106 2018-03-11 12:18:27 +01:00
Stef Heyenrath ff012be173 Fixed #106 2018-03-10 15:50:34 +01:00
Alastair Crabtree 3f2c139f90 feat: add WithBody(req => dostuff) style callback (#102) 2018-03-03 08:38:03 +00:00
Stef Heyenrath 2b8a58c68c #100 2018-03-02 14:35:10 +01:00
Stef Heyenrath 977d91109e ICallbackResponseBuilder + added more unit-tests (#101)
* Callback

* Add more tests
2018-03-02 09:12:36 +00:00
Stef Heyenrath 22298114d7 Fix ResponseMessageTransformer 2018-02-28 18:05:10 +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 e850126184 Unittest fix (#95)
* fix tests

* fix tests
2018-02-27 11:17:36 +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 1ffd56701c fix unit-test 2018-02-14 20:38:19 +01:00
Stef Heyenrath 693778659e Concurrent issue (#88) (#90)
* concurrent

* uni tests
2018-02-14 18:30:06 +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 66b2ff16de Implemented #82 2018-02-02 11:17:37 +01:00
Stef Heyenrath 40ff8514ac BodyAsJson (#80) 2018-01-31 12:41:10 +01:00
vladimir-fed 6d60b3773a Fix missed content headers (#79) 2018-01-23 08:05:12 +01:00
Stef Heyenrath 97d80ada11 Fixed issue #76 (#77)
#76
2018-01-16 20:44:59 +01:00
Stef Heyenrath 51bd9ec186 Add WireMock.Net.WebApplication example (#75) 2018-01-11 19:38:58 +01:00
Stef Heyenrath 71196b51c9 Fixed issue with same Mapping Guid (#73) 2017-12-20 20:51:51 +01:00
Stef Heyenrath ee0cb6e670 Added unit-test for #68
Added unit-test for #68
2017-11-22 21:33:40 +01:00
Alastair Crabtree 798603118c bug: fix supporting the Patch method and logging the body (#67)
* bug: fix supporting the Patch method and logging the body

- Patch not configured to support Body
- Add a unit test

* chore: typo fixed

* Added / reordered tests for PATCH method
2017-11-20 19:32:36 +01:00
Alastair Crabtree 208303729e bug: Fix admin api client definition returning the wrong types (#65)
* bug: Fix admin api client definition returning the wrong types

- IFluentMockServerAdmin get, find and get all requests should return a log entry model
- Add tests for get and find using the rest ease api client

* Fix Build status and rename tests
2017-11-19 20:44:05 +01:00
vladimir-fed a15e6747b0 Fix issue with concurrent logging (#63)
* Fix issue with concurrent logging

* Fix namespace + code format/cleanup
2017-11-18 12:22:19 +01:00
Alastair Crabtree 6c38400827 Add the Host, Protocol, Port and Origin to the Request message so they can be used in templating (#62)
* feat: Add the Host, Protocol Port and Origin to the Request message

- Add new fields during request message creation, derived from the Uri object
- Allow the new fields to be accessed in the templating engine
- Add tests for the new fields

* source code file reformat

* appveyor
2017-11-18 12:03:13 +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 07f03997c0 Fix issues with Bytes for Response 2017-10-14 10:48:58 +02:00
Stef Heyenrath 8199cdc382 scenario and state (added admin interface for GET and DELETE) 2017-10-07 18:10:17 +02:00
Stef Heyenrath 782418f107 Scenario_and_State_TodoList_Example 2017-10-07 17:34:09 +02:00
Stef Heyenrath 207688e42b Observable logs (refactor some code) 2017-10-07 15:28:36 +02:00
deeptowncitizen 2d39a18b70 Observable logs (#51)
* observable log entries

* event test
2017-10-07 15:05:02 +02:00
Stef Heyenrath 5424b1e2e2 scenario and state 2017-10-07 13:19:48 +02:00
deeptowncitizen ab017beaa6 stateful behavior + tests 2017-10-04 15:57:49 -04: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 76f0e04874 upgrade dependencies for test 2017-08-16 18:30:47 +02:00
Stef Heyenrath 1a77fee273 fix tests 2017-08-11 13:32:43 +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 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
Stef Heyenrath b9373c29d3 vs2017 (#25) 2017-04-14 11:52:38 +02:00
Stef Heyenrath e9ee4e91f9 HttpListener : Stop fix 2017-03-21 14:45:34 +01:00
Stef Heyenrath f06b89fa06 FluentMockServer_ReadStaticMappings 2017-03-21 09:05:57 +01:00
Stef Heyenrath e9e4ee7e9d fix AppVeyor tests 2017-03-21 08:59:49 +01:00
Stef Heyenrath e1c1db6480 update tests (#21) 2017-03-20 17:56:34 +01:00
Stef Heyenrath bd8e18b2c4 FluentMockServerSettings (#21) 2017-03-20 17:22:09 +01:00
Stef Heyenrath 4fa295edb7 change tests and add OpenCover 2017-02-27 12:15:20 +01:00