Update ProxyAndRecord

ProxyAndRecord does not save query-parameters, headers and body (#57)
This commit is contained in:
Stef Heyenrath
2017-11-07 21:52:30 +01:00
parent d83f308591
commit e25c873765
7 changed files with 76 additions and 27 deletions

View File

@@ -12,12 +12,13 @@ namespace WireMock.Net.Console.Record.NETCoreApp
{
Urls = new[] { "http://localhost:9091/", "https://localhost:9443/" },
StartAdminInterface = true,
ReadStaticMappings = true,
ReadStaticMappings = false,
ProxyAndRecordSettings = new ProxyAndRecordSettings
{
Url = "https://www.google.com",
//X509Certificate2ThumbprintOrSubjectName = "www.yourclientcertname.com OR yourcertificatethumbprint (only if the service you're proxying to requires it)",
SaveMapping = true
SaveMapping = true,
SaveMappingToFile = false
}
});