Commit Graph

219 Commits

Author SHA1 Message Date
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
Stef Heyenrath 02803562c6 1.0.1.2 2017-02-27 11:16:34 +01:00
Sebastian Bebrys 6513ac9de8 Body Encoding - admin interface 2017-02-23 14:45:43 +01:00
Sebastian Bebrys c38373eb1f Body Encoding 2017-02-23 10:39:44 +01:00
Stef Heyenrath 3112054f59 /__admin/requests/find 2017-02-15 18:04:18 +01:00
Stef Heyenrath b25444d083 __admin/settings 2017-02-13 19:34:04 +01:00
Stef Heyenrath 2944b5392a update tests 2017-02-13 18:18:26 +01:00
Stef Heyenrath abde3cd83f update some tests 2017-02-09 07:26:46 +01:00
Stef Heyenrath c987a59ca8 Add ExactMatcher 2017-02-05 18:04:48 +01:00
Stef Heyenrath 0d83a4d8a1 IsMatch -> GetMatchingScore 2017-02-05 10:42:57 +01:00
Stef Heyenrath e1b557f875 Fix tests 2017-02-05 10:30:17 +01:00
Stef Heyenrath ec2d105db2 Partial matching 2017-02-04 17:30:16 +01:00
Stef Heyenrath 84901ab1e4 AtPriority (#16) 2017-01-31 09:28:04 +01:00
Stef Heyenrath 8a4e5b5790 Fix unit-tests 2017-01-31 07:36:51 +01:00
Stef Heyenrath fddc85f48d path <> url 2017-01-29 14:24:48 +01:00
Stef Heyenrath 4fd05b0fd4 Added GET /__admin/mappings/{guid} 2017-01-29 13:34:52 +01:00
Stef Heyenrath 1f33e6a671 Add a new stub mapping 2017-01-27 21:19:30 +01:00
Stef Heyenrath a334974bef Implement "/__admin/requests" 2017-01-26 12:00:30 +01:00
Stef Heyenrath f56251a483 Fix WireMock.Net.dll 2017-01-24 22:44:46 +01:00
Stef Heyenrath b036de5442 Fix <Reference Include="WireMock.Net"> 2017-01-24 22:35:45 +01:00