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
Stef Heyenrath
ee7f939e34
Update dependencies ( #221 )
...
* update some dependencies
* update deps
2018-11-08 11:33:20 +00:00
Stef Heyenrath
dffeb95116
IsRestrictedResponseHeader ( #228 )
2018-11-07 20:07:50 +00:00
Stef Heyenrath
9ff19b0737
Codecov ( #222 )
...
* Codecov
* .nuget\packages\codecov\1.1.0
2018-11-01 14:36:49 +00:00
Stef Heyenrath
a43a8154b1
Update SimpleCommandLineParser to handle arguments with key and value ( #220 )
...
* Fix SimpleCommandLineParser
* Codecov
2018-10-31 13:47:08 +00:00
Stef Heyenrath
1af512fc72
Update BodyParser logic ( #212 )
...
* Update BodyParser logic
* update logic for byte[]
* small update
* MyGetKey
* myget
* dotnet nuget push
* dotnet build
* Release
* .
* StringContent
* 1.0.4.18-preview-02
* Debug
* 1.0.4.18-preview-02
* disable some proxy tests
* myget
* packagesToPack
* fix
* <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
* Release
* <VersionPrefix>1.0.4.18</VersionPrefix>
* fix
* BodyParserTests
* ResponseBodyData (#216 )
* ResponseBodyData
* refactor tests
* LogEntryMapperTests
2018-10-25 14:08:24 +02:00
Stef Heyenrath
83457c1601
NET Core 2.1 + support for Service Fabric commandline parameters ( #209 )
...
* netcore 2.1
* SimpleCommandLineParserTests
* tests
* SimpleCommandLineParserTests
* test report
* AspNetCoreSelfHost
* Fixed Resharper warnings
* tests
* .
* ResponseWithProxyTests
ResponseWithProxyTests
* postmanecho
2018-10-10 09:49:32 +02:00
Stef Heyenrath
ada50d893f
Rewrite some unit-integration-tests to unit-tests ( #206 #207 )
...
Rewrite some unit-integration-tests to unit-tests (#206 )
2018-09-26 17:43:26 +02:00
Stef Heyenrath
f358f13c08
Solved issues #204 #205 #200
...
* Lower priority from Proxy mappings
* Fix codefactor
* extra tests
* #205
* Fix test for linux
* `c:\temp\x.json` fix
* Extra tests
* more tests
* more tests
* codefactor
* #200
* refactor
* refactor
* tests
2018-09-22 08:41:24 +02:00
azure-pipelines[bot]
0c25ab413d
Set up CI with Azure Pipelines ( #203 )
...
* Set up CI with Azure Pipelines
* Microsoft.NET.Test.Sdk and coverlet.msbuild
* vmImage: 'vs2017-win2016'
* Remove coverlet.msbuild
* .
* s
* eq
* i
* ne
* ,
* echo
* build always (test)
* Install SonarScanner
* script
* cmd
* dotnet tool install
* SonarScanner via tools folder
* echo
* powershell
* BUILD_BUILDID
* $(SONAR_TOKEN)
* fix
* .
* |
* $(buildId)
* $(buildId)
* BuildId
* appv
* /d:sonar.cs.vscoveragexml.reportsPaths="**\*.coveragexml"
* .coverage
* coverlet
* coverlet
* b
* coverlet local
* Fix codefactor
* Build Azure
* Build Azure
* remove FluentMockServer_Admin_StartStop
* FluentMockServer_Admin_StartStop
2018-09-13 12:22:09 +02:00
Stef Heyenrath
84f3cc029f
Fix unit-tests on non-windows build machines.
2018-09-11 14:37:29 +02:00
Stef Heyenrath
da64934c13
Update handlebars code to support Regex.Match ( #201 ) ( #202 )
...
* #201
* Handlebars : Linq and JsonPath
* Rename to Regex.Match
* unit test coverage
2018-09-11 08:42:50 +02:00
Stef Heyenrath
ec39d12cfe
Regex.Match ( #201 )
2018-09-07 15:35:47 +02:00