Stef Heyenrath
1b326a54d6
Add WebProxySettings (use when proxying requests) ( #370 )
...
* webproxy part 1
* fixed
* Push to MyGet
* WebProxy standalone
* -n true
* nuget --- "-n true"
* AllowAutoRedirect
* .
2019-12-07 08:52:04 +01:00
Stef Heyenrath
8bafd6a1ba
Transform body as file ( #388 )
...
* .
* fix
2019-12-06 06:52:08 +01:00
Noah Lerner
0ff23a3d15
Support int values for states and scenario naming ( #376 )
...
* Support int values for states and scenario naming
* fix remove added dependency
2019-11-21 12:01:20 +01:00
Stef Heyenrath
395be3c583
WatchStaticMappingsInSubdirectories ( #374 )
...
* WatchStaticMappingsInSubdirectories
* 37
* IEnumerable<string> EnumerateFiles([NotNull] string path, bool includeSubdirectories);
* reloadStaticMappings
2019-11-07 15:31:43 +01:00
Stef Heyenrath
596177d4e5
Add support for Faults ( #360 )
...
* FaultType - wip
* .
* copy fault
* tests
* code-factor
* more tests
* fix tests
* fixed
* remove RANDOM_DATA_THEN_CLOSE
2019-10-26 06:01:25 +00:00
Stef Heyenrath
3250604b5a
#352 ( #354 )
2019-10-22 18:53:30 +00:00
Stef Heyenrath
4a2d512f83
Add Proxy Setting for: SaveMappingForStatusCodePattern to only save the mapping when the status code matches the pattern ( #357 )
...
* proxy
* HttpStatusRangeParserTests
* test
2019-10-10 08:18:58 +02:00
Stef Heyenrath
7789f94737
Fix JsonMatcher (parsing DateTimeOffset) ( #358 )
...
* .
* JObject Parse
* JsonUtils.Parse
* fix code comments
2019-10-09 11:16:39 +02:00
Stef Heyenrath
b2167f85ae
public event NotifyCollectionChangedEventHandler LogEntriesChanged ( #355 )
2019-10-08 09:50:59 +02:00
Stef Heyenrath
3cc361e216
Fixed failing admin requests when content type includes a charset (based on idea from Paul Roub) ( #353 )
...
* .
* #350
* fix
* .
2019-10-05 17:20:10 +02:00
Stef Heyenrath
0a9214ef47
Add CSharpCodeMatcher ( #324 )
...
* wip
* fix
* .
* windows-2019
* <Target Name="CheckIfShouldKillVBCSCompiler" />
* <!--https://github.com/aspnet/RoslynCodeDomProvider/issues/51-- >
* AllowCSharpCodeMatcher
* CSharpCodeMatcher : IObjectMatcher
* TemplateForIsMatchWithDynamic
* RequestMessageBodyMatcher_GetMatchingScore_BodyAsJson_CSharpCodeMatcher
* fix
* }
* Better Exception Handling
2019-09-28 17:55:07 +02:00
Stef Heyenrath
4afef3695b
test utils
2019-09-28 10:55:24 +02:00
Stef Heyenrath
666992ef24
When posting new mapping, use DateParseHandling.None ( #348 )
...
* .
* OfType + test
* remove line
2019-09-20 13:44:19 +02:00
Vitaliy Davydiak
feea64b328
Fix recorded requests skipped by request logger ( #346 )
...
* Fix recorded requests skipped request logger.
- When proxy is enabled the recorded requests are mistaken (IMO) for admin requests and skipped
* Add unit test
* Use different solution
* Introduce IsRecordedByProxy property on Mapping class
* Cleanup empty lines
* Refactored fix suggested way
2019-09-17 18:15:23 +02:00
Stef Heyenrath
5b8b588983
Fix CompareTo in RequestMatchResult ( #345 )
...
* Fix CompareTo in RequestMatchResult
#344
* fix test
2019-09-17 14:50:43 +02:00
andi0b
2f406029c9
Fix issues with Proxy mode and Binary Request Bodies ( #334 )
...
* Add Test for Proxy with binary request
* Fix binary parsing in BodyParser
* Fix binary Matching in RequestMessageBodyMatcher
* Improved Binary Matching in RequestMessageBodyMatcher
* BodyParser: Add test for Content Autodetection
* RequestMessageBodyMatcherTests: Make Code more pretty :)
* BodyParserChanges: Revert white space changes
* Fixed test for different behavior in request matching
2019-09-01 15:44:07 +00:00
Stef Heyenrath
c0a43ed204
remove MimeKitLite and use MediaTypeHeaderValue ( #338 )
2019-08-31 19:01:44 +00:00
Stef Heyenrath
ccb2c51a39
JsonMatcher support IgnoreCase ( #333 )
...
* JsonMatcher - IgnoreCase - #332
* also rename property name
* Remove example project
2019-08-23 19:49:15 +00:00
Stef Heyenrath
0edf858caa
Fix parsing Guid ( #326 )
2019-08-20 19:22:25 +00:00
Vitaliy Davydiak
4c74d1a4cc
Add blacklist for Request Cookies. ( #319 )
...
* Add blacklist for Request Cookies.
Refactor code. Fix tests.
* Fix tests and address code review notes
* Fix tests
2019-08-19 12:54:30 +00:00
Stef Heyenrath
d55e2fb920
Refactor MappingConverter & MatcherMapper ( #323 )
2019-08-17 17:00:44 +00:00
Stef Heyenrath
94f179ba17
Fix MappingMatcher in case of an exception in LinqMatcher. ( #322 )
...
* Fix MappingMatcher in case of an exception in LinqMatcher.
* update unit-tests
2019-08-17 16:24:14 +00:00
Ian Firkin
d71c48f8ac
Handles case where parameter value contains == ( #316 )
2019-08-14 22:05:22 +02:00
Stef Heyenrath
cb09d65f10
Support WithBody with multiple matchers ( #304 )
2019-07-23 18:02:46 +02:00
Ronald Wildenberg
7201479439
Fixed bug 301 by not setting BodyAsFile to null after first use ( #302 )
...
* Fixed bug 301 by not setting BodyAsFile to null after first use
* Added extra unit test
* 1.0.24.0
2019-07-22 18:33:40 +02:00
Stef Heyenrath
af46a490a5
MappingModels ( #298 )
...
* MappingModels
* WhiteSource Bolt
* 23
2019-07-16 22:05:36 +02:00
Stef Heyenrath
1db2bc7c89
FixNullRef ( #295 ) ( #297 )
2019-07-15 17:00:52 +02:00
Stef Heyenrath
93682c9bbf
Handlebars Extension ( #286 )
...
* wip
* HandlebarsRegistrationCallback
* HandlebarsContextFactoryTests
* 1.0.21.0
* fix sonar
* LocalFileSystemHandler
* readme
* Fix System.IO.IOException
2019-07-03 18:37:22 +02:00
Eli Bishop
06576ab317
don't strip request body if we don't recognize the request method ( #294 )
...
* don't strip request body if we don't recognize the request method
* use IsNullOrEmpty
2019-07-03 18:15:17 +02:00
Stef Heyenrath
7a4814e335
Add SaveToFile in the mapping ( #284 )
...
* savetofile
* fix !
2019-06-17 20:34:16 +02:00
Stef Heyenrath
f764881622
QueryStringParserTests
2019-06-15 10:26:39 +02:00
Stef Heyenrath
fdc433f0ce
QueryStringParser
2019-06-15 10:22:28 +02:00
Stef Heyenrath
bd030594d5
Add support for HandleBars File (to read a file) ( #278 )
...
* HandleBarsFileFragment
* 1.0.17
* {{File}}
2019-06-05 16:00:25 +02:00
Stef Heyenrath
8476e3c47f
Sign Assembly ( #274 )
...
* sign
* Fix
* sign also test
* DynamicProxyGenAssembly2
* PublicSign Condition=
* remove delaysign
2019-05-16 13:09:00 +02:00
Stef Heyenrath
6e45255c9e
Dynamic response handlebars templating (2) ( #273 )
...
* Dynamic response files using Handlebars templating
(#270 )
* * Response templating / transformation using Handlebars and extensions
* Add unit test for JsonPath and BodyAsFile mapping (#272 )
* fix merge issue
2019-05-04 10:20:36 +02:00
Stef Heyenrath
96e68ae2a0
Support Dynamic response files using Handlebars templating ( #271 )
...
* Dynamic response files using Handlebars templating
(#270 )
* * Response templating / transformation using Handlebars and extensions
2019-05-04 10:02:09 +02:00
Stef Heyenrath
fdb58b757b
Add JmesPath matcher ( #269 )
...
* JmesPathMatcher
* netstandard1.3
* update System.Linq.Dynamic.Core
* simplyfy `double IsMatch(object input)`
2019-04-20 10:44:13 +02:00
JackCreativeCrew
12444cc11e
[265] Add file upload to allow mocking of file operations ( #266 )
...
* [265] Add file upload to allow mocking of file operations
* [265] Fix failing test
* Update code + add tests
* LocalFileSystemHandlerTests
* 1.0.13
* Fixed the file post to create the mapping folder if none exists to begin with, otherwise the file upload fails with 404 (can't find the folder to upload to).
* fix tests
* add more tests for LocalFileSystemHandler
* Added the head method for files to check if a file exists without returning it as a body.
* Add a test and fix the response message (head requires no body).
* Fix newline
* Fix newline.
* Fix the number of mapping tests
* Update tests and update client-interface-api
* Cleanup "MappingConverter.cs"
2019-04-11 08:46:14 +02:00
Stef Heyenrath
3d845d5be5
Proxy : also save multipart as string in mapping file ( #264 )
...
* ExactObjectMatcher
* BytesEncodingUtils
* BodyParser
* Encoding.ASCII
2019-04-05 14:51:29 +02:00
Alex Kursov
e7ac620721
Add ProvideResponse_WithJsonBodyAndTransform test ( #262 )
2019-03-30 09:34:13 +01:00
Stef Heyenrath
9e123fbbea
Fixed Multi Param Match logic ( #256 )
...
* fix?
* 1.0.9
* <PackageReference Include="System.Linq.Dynamic.Core" Version="1.0.11" />
* fix tests ?
* fix
* RequestMessageParamMatcher
2019-03-25 18:00:22 +01:00
Stef Heyenrath
1392119f9d
RequestMessageParamMatcher supports Ignore Case for the key ( #254 )
...
* RequestMessageParamMatcher
* /o:
* 1.0.8
2019-03-12 14:42:52 +01:00
Stef Heyenrath
d736745aff
Fix BodyAsFile to also allow relative paths ( #244 )
...
* Read only .json files as static mapping files and fix current folder for BodyAsFile
* include .json again
* LocalFileSystemHandler_ReadResponseBodyAsFile_Throws
* Read array from static mappings folder
* xml soap example
2019-01-19 19:27:48 +01:00
Stef Heyenrath
f9ab43bf58
Fixed "Content-Type multipart/form-data" ( #249 )
2019-01-10 11:24:58 +01:00
Stef Heyenrath
98097a033e
Post multiple Mappings ( #242 )
...
* Post multiple Mappings
* 1.0.6
2018-12-15 09:28:14 +01:00
Stef Heyenrath
4be1483a5f
Add Random Regex (using Fare) ( #236 )
...
* Xeger
* update example
* 1.0.7
* Fix tests for Handlebars_Xeger
* ReplaceNodeValue
* 1.0.5
* readme
2018-12-06 14:29:12 +01:00
Stef Heyenrath
c1c45801b5
Add SonarLint checks ( #232 )
2018-11-15 14:30:51 +00:00
Stef Heyenrath
18af7a41d4
Use RandomDataGenerator.Net 1.0.3.0 ( #231 )
...
* Include="RandomDataGenerator.Net" Version="1.0.3"
* UndefinedBindingResult
2018-11-13 09:49:46 +00:00
Stef Heyenrath
3df4161329
Add HandleBars Random functionality ( #230 #219 )
...
Add HandleBars Random functionality (#219 )
2018-11-09 10:06:09 +00:00
Stef Heyenrath
34be065467
Fix proxy tests ( #229 )
2018-11-08 13:17:31 +00:00