Stef Heyenrath
79da7d042b
Netstandard21 ( #449 )
...
* Add NetStandard2.1
* 21
* CS-Script.Core
* csscript
* ex
2020-04-01 17:10:45 +02:00
Stef Heyenrath
5809fae602
fix port ( #446 )
2020-03-25 17:00:15 +01:00
Stef Heyenrath
fe4ad50119
Fix Null body in handlebar transformation ( #442 )
2020-03-17 13:52:43 +01:00
Stef Heyenrath
10dbff2c02
AllowOnlyDefinedHttpStatusCodeInResponse ( #422 )
2020-03-14 09:13:14 +01:00
Stef Heyenrath
68ffcda53b
Let the .NET core/standard WebHostBuilder use a random port ( #417 )
...
* wip
* code reformat
2020-03-14 08:51:26 +01:00
Stef Heyenrath
2dbb984a1e
wip ( #435 )
2020-03-05 18:20:49 +01:00
Stef Heyenrath
88dd1b9aa4
Option to disable JSON deserialization ( #434 )
...
* Option to disable JSON deserialization
* Fix build errors, add test case
* make new parameter optional
* set default for contentType as well
2020-03-05 17:59:24 +01:00
Stef Heyenrath
87c4344d65
UsingOptions, UsingConnect and UsingTrace ( #427 )
2020-03-05 17:56:24 +01:00
Stef Heyenrath
13ab37dd3e
LinqMatcher ( #431 )
2020-02-25 22:17:15 +01:00
Stef Heyenrath
69488ced5f
fixes for Cookie and Header Reject on Match ( #423 )
2020-02-22 11:07:45 +01:00
Stef Heyenrath
e6bcd625f7
Don't return empty dictionary object for response headers in JSON mapping ( #424 )
2020-02-22 11:07:04 +01:00
Stef Heyenrath
d1b42bf436
wip ( #421 )
2020-02-15 08:30:08 +01:00
Noah Lerner
4c01ef4838
Support multi line wild card matching ( #419 )
2020-02-13 20:05:56 +01:00
Noah Lerner
32248b6585
Fix new Delete with body missing from IWireMockAdminApi interface ( #413 )
...
* Fix new Delete with body missing from IWireMockAdminApi interface
* Admin Delete with mappings in body (#409 )
* Add unit test for delete with body
* change order of checks for readability. looks nicer.
* Allow body in DELETE requests
* Fix unit tests according to DELETE supporting body
* Re-run CI
* Fix DELETE with body unit test
* Fix ElementAt index in mappings list
* Fix DELETE with body unit test
* Fix theory tag must be accompanied by some InlineData or Member
* Fix didn't use correct checking syntax
* Fix wrap entire unit test in if region
2020-02-05 19:11:44 +01:00
Stef Heyenrath
1df4502631
fix ( #414 )
2020-02-05 19:09:57 +01:00
Noah Lerner
5e76a82a21
Improved relative path checking based on file existence ( #411 )
...
* Improved relative path checking based on file existence
If the file exists at the relative path, then use it. If not, then use the path as is.
* Apply File.Exists logic to ReadResponseBodyAsString as well
* Make path handling more robust since path is user defined
* Unit tests for relative path feature
* Replace all back and forward slashes with system dependent DirectorySeparatorChar
* Attempt fix broken directory separator chars for Unix platforms
* Revert wrapping GetMappingFolder with CleanPath
* Move CleanPath logic to its own class
* Remove whitespace
* Remove more whitespace
* Improve CleanPath method
* Move PathUtils tests to separate class
Add another test to ResponseWithBodyFromFileTests
* Fix Response_ProvideResponse_WithBodyFromFile_InAdminMappingFolder
* Debug Linux CI build
* Debug Linux CI
* print all files from admin mappings folder
* Debug CleanPath
* Fix removed leading directory separator char in Linux breaks file path
Remove debugging statements
* Move combine to PathUtils
* PathUtils + PathUtilsTests
* Remove replicated (3x) tests throughout ResponseWithBodyFromFileTests
Co-authored-by: Stef Heyenrath <Stef.Heyenrath@gmail.com >
2020-02-02 13:49:34 +01:00
Stef Heyenrath
307a89d324
AllowAnyHttpStatusCodeInResponse ( #407 )
...
* .
* ,
* PUBLISH_TESTRESULTS
* fix logging
* fix compile error
* codefactor fix
* Debug - Sonar + other things in csproj
2020-01-27 18:47:58 +01:00
Stef Heyenrath
710fc8dcf6
Fixed StatusCode = null or < 0 ( #406 )
...
* .
* fix tests
* responseModel.StatusCode is int statusCodeAsInt && statusCodeAsInt > 0
* < 0
2020-01-25 17:51:38 +01:00
Stef Heyenrath
69bbd76ca4
Log Exception ( #405 )
2020-01-25 15:25:47 +01:00
Kashif Jamal Soofi
ea1be6641a
Fix for invalid cast exception ( #403 )
2020-01-22 14:27:44 +01:00
Vitaliy Davydiak
caee5895eb
ResponseModel.StatusCode is deserialized as either string or long. ( #399 )
2020-01-09 20:15:15 +01:00
Kashif Jamal Soofi
368fdd4c7d
Feature/xpath transformer ( #398 )
...
* XPath transformer, added handlerbars helper to select nodes using xpath and setting the outerxml value in response
* Added test to select attribute value and node text
* Removed extra empty lines
2020-01-09 17:51:44 +01:00
Stef Heyenrath
d971144426
WireMock.Net version 1.1.x ( #363 )
...
* refactor
* rename api
* -preview-01
* logger
* move
* RandomDataGenerator.Net
* .
* ISettings
* renames...
* refactor CommandlineParser logic
* remove standalone
* Remove Interfaces
* Update tests
* WireMock.Net.StandAlone
* .
* fix
* .
* _settings
* Admin
* WireMock.Net.Abstractions
* fix build
* rename WireMockServer
* fix compile errors
2019-12-27 16:01:13 +01:00
Stef Heyenrath
120a808104
StatusCode as string ( #385 )
...
* StatusCode as string
* fix tests
* fix test
* ReplaceSingleNode
* <!--<DelaySign>true</DelaySign>-->
* Array
* add test
* Response_ProvideResponse_Handlebars_WithBodyAsJson_ResultAsHandlebarsString
* net461
* .
* fix
* target frame
* BodyAsJson
* Response_ProvideResponse_WithStatusCode
* fix build
* fix test
2019-12-26 13:57:35 +01:00
Stef Heyenrath
a8c17ce311
#383 ( #391 )
2019-12-14 21:37:04 +01:00
Stef Heyenrath
8ae0abb023
. ( #392 )
2019-12-13 13:21:50 +01:00
Stef Heyenrath
45d8c0cc27
Fix QueryStringParser ( #389 )
...
* Fix QueryStringParser
* add extra test
2019-12-09 17:20:17 +01:00
Stef Heyenrath
178f2cf02f
1.0.39.0
2019-12-07 08:58:24 +01:00
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
Stef Heyenrath
5bb10c3350
Use dotnet default development certificate for .NET Core 2.x ( #381 )
2019-11-29 14:51:03 +01:00
Stef Heyenrath
3a221f51b1
set handlebars dependency for .net 4.5.1 to fixed value ( #378 )
2019-11-25 18:56:01 +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
9b323ab388
example
2019-11-19 18:54:28 +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
79db955611
SaveMappingForStatusCodePattern
2019-10-29 19:02:59 +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
f3d2452093
remove Obsolete ( #368 )
2019-10-25 08:40:40 +00:00
Stef Heyenrath
92e693818a
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2019-10-22 21:24:22 +02:00
Stef Heyenrath
9a1ae6a3f0
Do not build symbol NuGets anymore. ( #367 )
2019-10-22 19:19:53 +00:00
Stef Heyenrath
84ad5a927e
2.x.x ( #366 )
2019-10-22 18:58:36 +00:00
Stef Heyenrath
3250604b5a
#352 ( #354 )
2019-10-22 18:53:30 +00:00
Stef Heyenrath
31f3d77b38
Mark some classes and methods obsolete for version 1.1.0 ( #335 )
...
* Obsolete
* StandAloneApp - obsolete
* obs
* make Interface obsolete
2019-10-12 08:54:01 +02: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
87534c35f5
fix jsonpath matcher ( #311 )
2019-10-09 13:08:02 +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
666992ef24
When posting new mapping, use DateParseHandling.None ( #348 )
...
* .
* OfType + test
* remove line
2019-09-20 13:44:19 +02:00