实例介绍
WireMock-Net:WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating.
【实例截图】
【核心代码】
文件清单
└── WireMock.Net-801546fae7f094964c8d46f526033bea1bcd885f
├── azure-pipelines-ci-linux.yml
├── azure-pipelines-ci.yml
├── azure-pipelines-linux.yml
├── azure-pipelines-nuget.yml
├── CHANGELOG.md
├── Directory.Build.props
├── examples
│ ├── WireMockAzureQueueExample
│ │ ├── Function1.cs
│ │ ├── host.json
│ │ ├── local.settings.json
│ │ ├── Properties
│ │ │ ├── launchSettings.json
│ │ │ ├── serviceDependencies.json
│ │ │ └── serviceDependencies.local.json
│ │ └── WireMockAzureQueueExample.csproj
│ ├── WireMockAzureQueueProxy
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ ├── DELETE _devstoreaccount1_myqueue-items_messages_41b2aadc-d6ea-4c3c-ae20-2ae72eb08d88.json
│ │ │ ├── GET No Messages _devstoreaccount1_myqueue-items_messages.json
│ │ │ ├── GET With Messages _devstoreaccount1_myqueue-items_messages.json
│ │ │ └── HEAD _devstoreaccount1_myqueue-items.json
│ │ ├── Program.cs
│ │ └── WireMockAzureQueueProxy.csproj
│ ├── WireMock.Net.Client
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── launchSettings.json
│ │ └── WireMock.Net.Client.csproj
│ ├── WireMock.Net.Client.Net472
│ │ ├── App.config
│ │ ├── packages.config
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── WireMock.Net.Client.Net472.csproj
│ ├── WireMock.Net.Console.Net452.Classic
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ ├── 11111110-a633-40e8-a244-5cb80bc0ab66.json
│ │ │ └── 873d495f-940e-4b86-a1f4-4f0fc7be8b8b.json
│ │ ├── App.config
│ │ ├── CustomFileSystemFileHandler.cs
│ │ ├── log4net.config
│ │ ├── MainApp.cs
│ │ ├── packages.config
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── WireMock.Net.Console.Net452.Classic.csproj
│ ├── WireMock.Net.Console.Net461.Classic
│ │ ├── App.config
│ │ ├── packages.config
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── WireMock.Net.Console.Net461.Classic.csproj
│ ├── WireMock.Net.Console.Net472.Classic
│ │ ├── App.config
│ │ ├── Nullable
│ │ │ ├── AllowNullAttribute.cs
│ │ │ ├── DisallowNullAttribute.cs
│ │ │ ├── DoesNotReturnAttribute.cs
│ │ │ ├── DoesNotReturnIfAttribute.cs
│ │ │ ├── MaybeNullAttribute.cs
│ │ │ ├── MaybeNullWhenAttribute.cs
│ │ │ ├── MemberNotNullAttribute.cs
│ │ │ ├── MemberNotNullWhenAttribute.cs
│ │ │ ├── NotNullAttribute.cs
│ │ │ ├── NotNullIfNotNullAttribute.cs
│ │ │ └── NotNullWhenAttribute.cs
│ │ ├── packages.config
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── WireMock.Net.Console.Net472.Classic.csproj
│ ├── WireMock.Net.Console.NET5
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ ├── 11111110-a633-40e8-a244-5cb80bc0ab66.json
│ │ │ ├── 1.cs
│ │ │ ├── 791a3f31-6946-4ce7-8e6f-0237c7443275.json
│ │ │ ├── 873d495f-940e-4b86-a1f4-4f0fc7be8b8b.json
│ │ │ ├── array.json
│ │ │ ├── BodyAsFileExample2.json
│ │ │ ├── BodyAsFileExample.json
│ │ │ └── MyXmlResponse.xml
│ │ ├── log4net.config
│ │ └── WireMock.Net.Console.NET5.csproj
│ ├── WireMock.Net.Console.NET6
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ ├── 11111110-a633-40e8-a244-5cb80bc0ab66.json
│ │ │ ├── 1.cs
│ │ │ ├── 791a3f31-6946-4ce7-8e6f-0237c7443275.json
│ │ │ ├── 873d495f-940e-4b86-a1f4-4f0fc7be8b8b.json
│ │ │ ├── array.json
│ │ │ ├── BodyAsFileExample.json
│ │ │ ├── issue-1001.json
│ │ │ └── MyXmlResponse.xml
│ │ ├── log4net.config
│ │ └── WireMock.Net.Console.NET6.csproj
│ ├── WireMock.Net.Console.NET6.WithCertificate
│ │ ├── cert.pem
│ │ ├── cert-rsa.pem
│ │ ├── HowTo.txt
│ │ ├── private-key.pem
│ │ ├── private-key-rsa.pem
│ │ ├── Program.cs
│ │ ├── public-key.pem
│ │ ├── public-key-rsa.pem
│ │ └── WireMock.Net.Console.NET6.WithCertificate.csproj
│ ├── WireMock.Net.Console.NET7.UsingNuGet
│ │ ├── Program.cs
│ │ └── WireMock.Net.Console.NET7.UsingNuGet.csproj
│ ├── WireMock.Net.Console.NET8
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ ├── 11111110-a633-40e8-a244-5cb80bc0ab66.json
│ │ │ ├── 1.cs
│ │ │ ├── 791a3f31-6946-4ce7-8e6f-0237c7443275.json
│ │ │ ├── 873d495f-940e-4b86-a1f4-4f0fc7be8b8b.json
│ │ │ ├── array.json
│ │ │ ├── BodyAsFileExample.json
│ │ │ ├── issue-1001.json
│ │ │ └── MyXmlResponse.xml
│ │ ├── log4net.config
│ │ └── WireMock.Net.Console.NET8.csproj
│ ├── WireMock.Net.Console.NETCoreApp
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ ├── 11111110-a633-40e8-a244-5cb80bc0ab66.json
│ │ │ ├── 791a3f31-6946-4ce7-8e6f-0237c7443275.json
│ │ │ └── 873d495f-940e-4b86-a1f4-4f0fc7be8b8b.json
│ │ ├── log4net.config
│ │ ├── nlog.config
│ │ ├── Program.cs
│ │ └── WireMock.Net.Console.NETCoreApp.csproj
│ ├── WireMock.Net.Console.NETCoreApp3
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ ├── 11111110-a633-40e8-a244-5cb80bc0ab66.json
│ │ │ ├── 1.cs
│ │ │ ├── 791a3f31-6946-4ce7-8e6f-0237c7443275.json
│ │ │ ├── 873d495f-940e-4b86-a1f4-4f0fc7be8b8b.json
│ │ │ ├── array.json
│ │ │ ├── BodyAsFileExample.json
│ │ │ └── MyXmlResponse.xml
│ │ └── WireMock.Net.Console.NETCoreApp3.csproj
│ ├── WireMock.Net.Console.NETCoreApp3WithCertificate
│ │ ├── base64_encoded.cer
│ │ ├── base64_encoded.privatekey
│ │ ├── example.pfx
│ │ ├── Program.cs
│ │ └── WireMock.Net.Console.NETCoreApp3WithCertificate.csproj
│ ├── WireMock.Net.Console.Proxy.Net452
│ │ ├── App.config
│ │ ├── packages.config
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── WireMock.Net.Console.Proxy.Net452.csproj
│ ├── WireMock.Net.Console.Proxy.NETCoreApp
│ │ ├── 501d5907-7f73-46dc-a1c6-1a48f39b103a.json
│ │ ├── Program.cs
│ │ └── WireMock.Net.Console.Proxy.NETCoreApp.csproj
│ ├── WireMock.Net.Console.RequestLogTest
│ │ ├── Program.cs
│ │ └── WireMock.Net.Console.RequestLogTest.csproj
│ ├── WireMock.Net.OpenApiParser.ConsoleApp
│ │ ├── DynamicDataGeneration.cs
│ │ ├── infura.yaml
│ │ ├── OpenApiFiles
│ │ │ ├── file_error.yaml
│ │ │ ├── openAPIExamples.yaml
│ │ │ ├── pet.json
│ │ │ ├── refs.yaml
│ │ │ ├── Swagger_Customer_V2.0.json
│ │ │ ├── Swagger_Petstore_V2.0.json
│ │ │ ├── Swagger_Petstore_V2.0.yaml
│ │ │ ├── Swagger_Petstore_V3.0.0.yaml
│ │ │ ├── Swagger_Petstore_V3.0.2.json
│ │ │ └── testopenapifile.json
│ │ ├── petstore-openapi3.json
│ │ ├── petstore.yml
│ │ ├── Program.cs
│ │ ├── Run.cs
│ │ ├── WireMock.Net.OpenApiParser.ConsoleApp.csproj
│ │ └── wiremock-petstore-openapi3.json
│ ├── WireMock.Net.Service
│ │ ├── App.config
│ │ ├── Installer.cs
│ │ ├── Installer.Designer.cs
│ │ ├── InstallUtil.InstallLog
│ │ ├── log4net.config
│ │ ├── packages.config
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Service-Install.bat
│ │ ├── Service-Start.bat
│ │ ├── Service-Stop.bat
│ │ ├── Service-Uninstall.bat
│ │ ├── WireMockLog4NetLogger.cs
│ │ └── WireMock.Net.Service.csproj
│ ├── WireMock.Net.TestcontainersExample
│ │ ├── Program.cs
│ │ └── WireMock.Net.TestcontainersExample.csproj
│ ├── WireMock.Net.WebApplication.NET6
│ │ ├── __admin
│ │ │ └── mappings
│ │ │ └── 1e0686d3-5eb0-4c30-9482-db3735a1e4c4.json
│ │ ├── App.cs
│ │ ├── appsettings.json
│ │ ├── IWireMockService.cs
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── launchSettings.json
│ │ │ └── ServiceDependencies
│ │ │ └── WireMockNetWebApplicationNET6Linux - Zip Deploy
│ │ │ └── profile.arm.json
│ │ ├── readme.md
│ │ ├── web.config
│ │ ├── WireMock.Net.WebApplication.NET6.csproj
│ │ └── WireMockService.cs
│ └── WireMock.Net.WebApplication.NETCore3
│ ├── App.cs
│ ├── appsettings.json
│ ├── IWireMockService.cs
│ ├── Program.cs
│ ├── Properties
│ │ ├── launchSettings.json
│ │ └── ServiceDependencies
│ │ └── WireMockNetWebApplicationNETCore3 - Web Deploy
│ │ └── profile.arm.json
│ ├── readme.md
│ ├── resources
│ │ ├── iis-apppool.png
│ │ ├── iis-debug.png
│ │ └── iis-wiremock1and2.png
│ ├── web.config
│ ├── WireMock.Net.WebApplication.NETCore3.csproj
│ └── WireMockService.cs
├── Generate-ReleaseNotes.cmd
├── LICENSE
├── mock4net
│ ├── LICENSE.txt
│ └── readme.md
├── nuget.config
├── PackageReadme.md
├── PackageReleaseNotes.template
├── PackageReleaseNotes.txt
├── README.md
├── report
│ ├── coverage.info
│ ├── coverage.opencover.xml
│ └── run-coverlet-local.cmd
├── ReSharper_WireMock.DotSettings
├── resources
│ ├── MyGet-Config.png
│ ├── MyGet-Use.png
│ ├── WireMock.Net-Logo.ico
│ └── WireMock.Net-Logo.png
├── src
│ ├── dotnet-WireMock.Net
│ │ ├── dotnet-WireMock.csproj
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── launchSettings.json
│ │ └── WireMockLogger.cs
│ ├── WireMock.Net
│ │ ├── Authentication
│ │ │ ├── AzureADAuthenticationMatcher.cs
│ │ │ └── BasicAuthenticationMatcher.cs
│ │ ├── Compatibility
│ │ │ ├── EmptyArray.cs
│ │ │ ├── StringExtensions.cs
│ │ │ └── WebProxy.cs
│ │ ├── Constants
│ │ │ └── WireMockConstants.cs
│ │ ├── Exceptions
│ │ │ └── WireMockException.cs
│ │ ├── Extensions
│ │ │ ├── AnyOfExtensions.cs
│ │ │ ├── DictionaryExtensions.cs
│ │ │ ├── EnumExtensions.cs
│ │ │ ├── ExceptionExtensions.cs
│ │ │ └── TimeSettingsExtensions.cs
│ │ ├── Handlers
│ │ │ └── LocalFileSystemHandler.cs
│ │ ├── Http
│ │ │ ├── ByteArrayContentHelper.cs
│ │ │ ├── HttpClientBuilder.cs
│ │ │ ├── HttpClientFactory2.cs
│ │ │ ├── HttpKnownHeaderNames.cs
│ │ │ ├── HttpRequestMessageHelper.cs
│ │ │ ├── HttpResponseMessageHelper.cs
│ │ │ ├── StringContentHelper.cs
│ │ │ └── WebhookSender.cs
│ │ ├── HttpsCertificate
│ │ │ ├── CertificateLoader.cs
│ │ │ └── PublicCertificateHelper.cs
│ │ ├── IMappingBuilder.cs
│ │ ├── IMapping.cs
│ │ ├── Json
│ │ │ ├── DynamicJsonClassOptions.cs
│ │ │ ├── DynamicPropertyWithValue.cs
│ │ │ ├── FloatBehavior.cs
│ │ │ ├── IntegerBehavior.cs
│ │ │ └── JObjectExtensions.cs
│ │ ├── Logging
│ │ │ ├── LogEntry.cs
│ │ │ ├── WireMockConsoleLogger.cs
│ │ │ └── WireMockNullLogger.cs
│ │ ├── MappingBuilder.cs
│ │ ├── Mapping.cs
│ │ ├── MappingRegistrationCallback.cs
│ │ ├── Matchers
│ │ │ ├── AbstractJsonPartialMatcher.cs
│ │ │ ├── ContentTypeMatcher.cs
│ │ │ ├── ExactMatcher.cs
│ │ │ ├── ExactObjectMatcher.cs
│ │ │ ├── GraphQLMatcher.cs
│ │ │ ├── Helpers
│ │ │ │ └── BodyDataMatchScoreCalculator.cs
│ │ │ ├── ICSharpCodeMatcher.cs
│ │ │ ├── IIgnoreCaseMatcher.cs
│ │ │ ├── IMatcher.cs
│ │ │ ├── IObjectMatcher.cs
│ │ │ ├── IStringMatcher.cs
│ │ │ ├── IValueMatcher.cs
│ │ │ ├── JmesPathMatcher.cs
│ │ │ ├── JsonMatcher.cs
│ │ │ ├── JsonPartialMatcher.cs
│ │ │ ├── JsonPartialWildCardMatcher.cs
│ │ │ ├── JSONPathMatcher.cs
│ │ │ ├── LinqMatcher.cs
│ │ │ ├── MatchBehaviour.cs
│ │ │ ├── MatchBehaviourHelper.cs
│ │ │ ├── MatchOperator.cs
│ │ │ ├── MatchResult.cs
│ │ │ ├── MatchScores.cs
│ │ │ ├── MimePartMatcher.cs
│ │ │ ├── Models
│ │ │ │ └── WireMockCustomScalarGraphType.cs
│ │ │ ├── NotNullOrEmptyMatcher.cs
│ │ │ ├── RegexMatcher.cs
│ │ │ ├── Request
│ │ │ │ ├── CompositeMatcherType.cs
│ │ │ │ ├── _mock4net-license.txt
│ │ │ │ ├── RequestMatchResult.cs
│ │ │ │ ├── RequestMessageBodyMatcher.cs
│ │ │ │ ├── RequestMessageClientIPMatcher.cs
│ │ │ │ ├── RequestMessageCompositeMatcher.cs
│ │ │ │ ├── RequestMessageCookieMatcher.cs
│ │ │ │ ├── RequestMessageGraphQLMatcher.cs
│ │ │ │ ├── RequestMessageHeaderMatcher.cs
│ │ │ │ ├── RequestMessageMethodMatcher.cs
│ │ │ │ ├── RequestMessageMultiPartMatcher.cs
│ │ │ │ ├── RequestMessageParamMatcher.cs
│ │ │ │ ├── RequestMessagePathMatcher.cs
│ │ │ │ ├── RequestMessageScenarioAndStateMatcher.cs
│ │ │ │ └── RequestMessageUrlMatcher.cs
│ │ │ ├── SimMetricsMatcher.cs
│ │ │ ├── WildcardMatcher.cs
│ │ │ └── XPathMatcher.cs
│ │ ├── Models
│ │ │ ├── BodyData.cs
│ │ │ ├── StringPattern.cs
│ │ │ ├── TimeSettings.cs
│ │ │ ├── UrlDetails.cs
│ │ │ ├── Webhook.cs
│ │ │ └── WebhookRequest.cs
│ │ ├── Owin
│ │ │ ├── AspNetCoreSelfHost.cs
│ │ │ ├── AspNetCoreSelfHost.NETCore.cs
│ │ │ ├── AspNetCoreSelfHost.NETStandard13.cs
│ │ │ ├── AspNetCoreSelfHost.NETStandard.cs
│ │ │ ├── GlobalExceptionMiddleware.cs
│ │ │ ├── HostUrlDetails.cs
│ │ │ ├── HostUrlOptions.cs
│ │ │ ├── IMappingMatcher.cs
│ │ │ ├── IOwinSelfHost.cs
│ │ │ ├── IWireMockMiddlewareOptions.cs
│ │ │ ├── Mappers
│ │ │ │ ├── IOwinRequestMapper.cs
│ │ │ │ ├── IOwinResponseMapper.cs
│ │ │ │ ├── OwinRequestMapper.cs
│ │ │ │ └── OwinResponseMapper.cs
│ │ │ ├── MappingMatcher.cs
│ │ │ ├── MappingMatcherResult.cs
│ │ │ ├── OwinSelfHost.cs
│ │ │ ├── WireMockMiddleware.cs
│ │ │ ├── WireMockMiddlewareOptions.cs
│ │ │ └── WireMockMiddlewareOptionsHelper.cs
│ │ ├── Pact
│ │ │ └── Models
│ │ │ └── V2
│ │ │ ├── Interaction.cs
│ │ │ ├── MatchingRule.cs
│ │ │ ├── Metadata.cs
│ │ │ ├── Pact.cs
│ │ │ ├── Pacticipant.cs
│ │ │ ├── PactRequest.cs
│ │ │ ├── PactResponse.cs
│ │ │ ├── PactRust.cs
│ │ │ ├── PactSpecification.cs
│ │ │ ├── ProviderState.cs
│ │ │ └── _v2.json
│ │ ├── Plugin
│ │ │ └── PluginLoader.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Proxy
│ │ │ └── ProxyHelper.cs
│ │ ├── RegularExpressions
│ │ │ └── RegexExtended.cs
│ │ ├── RequestBuilders
│ │ │ ├── IBodyRequestBuilder.cs
│ │ │ ├── IClientIPRequestBuilder.cs
│ │ │ ├── ICookiesRequestBuilder.cs
│ │ │ ├── IGraphQLRequestBuilder.cs
│ │ │ ├── IHeadersRequestBuilder.cs
│ │ │ ├── IMethodRequestBuilder.cs
│ │ │ ├── IMultiPartRequestBuilder.cs
│ │ │ ├── IParamsRequestBuilder.cs
│ │ │ ├── IRequestBuilder.cs
│ │ │ ├── IUrlAndPathRequestBuilder.cs
│ │ │ ├── Request.ClientIP.cs
│ │ │ ├── Request.cs
│ │ │ ├── Request.UsingMethods.cs
│ │ │ ├── Request.WithBody.cs
│ │ │ ├── Request.WithCookies.cs
│ │ │ ├── Request.WithGraphQL.cs
│ │ │ ├── Request.WithHeaders.cs
│ │ │ ├── Request.WithMultiPart.cs
│ │ │ ├── Request.WithParam.cs
│ │ │ ├── Request.WithPath.cs
│ │ │ └── Request.WithUrl.cs
│ │ ├── RequestMessage.cs
│ │ ├── ResponseBuilders
│ │ │ ├── BodyDestinationFormat.cs
│ │ │ ├── IBodyResponseBuilder.cs
│ │ │ ├── ICallbackResponseBuilder.cs
│ │ │ ├── IDelayResponseBuilder.cs
│ │ │ ├── IFaultRequestBuilder.cs
│ │ │ ├── IHeadersResponseBuilder.cs
│ │ │ ├── IProxyResponseBuilder.cs
│ │ │ ├── IResponseBuilder.cs
│ │ │ ├── IStatusCodeResponseBuilder.cs
│ │ │ ├── ITransformResponseBuilder.cs
│ │ │ ├── Response.cs
│ │ │ ├── Response.WithBody.cs
│ │ │ ├── Response.WithCallback.cs
│ │ │ ├── Response.WithFault.cs
│ │ │ └── Response.WithProxy.cs
│ │ ├── ResponseMessageBuilder.cs
│ │ ├── ResponseMessage.cs
│ │ ├── ResponseProviders
│ │ │ ├── DynamicAsyncResponseProvider.cs
│ │ │ ├── DynamicResponseProvider.cs
│ │ │ ├── IResponseProvider.cs
│ │ │ └── ProxyAsyncResponseProvider.cs
│ │ ├── ScenarioState.cs
│ │ ├── Serialization
│ │ │ ├── JsonSerializationConstants.cs
│ │ │ ├── LogEntryMapper.cs
│ │ │ ├── MappingConverter.cs
│ │ │ ├── MappingConverterSettings.cs
│ │ │ ├── MappingFileNameSanitizer.cs
│ │ │ ├── MappingToFileSaver.cs
│ │ │ ├── MatcherMapper.cs
│ │ │ ├── PactMapper.cs
│ │ │ ├── ProxyMappingConverter.cs
│ │ │ ├── SwaggerMapper.cs
│ │ │ ├── TimeSettingsMapper.cs
│ │ │ └── WebhookMapper.cs
│ │ ├── Server
│ │ │ ├── IRespondWithAProvider.cs
│ │ │ ├── RespondWithAProvider.cs
│ │ │ ├── WireMockServer.Admin.cs
│ │ │ ├── WireMockServer.AdminFiles.cs
│ │ │ ├── WireMockServer.ConvertMapping.cs
│ │ │ ├── WireMockServer.cs
│ │ │ ├── WireMockServer.ImportWireMockOrg.cs
│ │ │ ├── WireMockServer.LogEntries.cs
│ │ │ ├── WireMockServer.OpenApiParser.cs
│ │ │ └── WireMockServer.Proxy.cs
│ │ ├── Services
│ │ │ ├── IRandomizerDoubleBetween0And1.cs
│ │ │ └── RandomizerDoubleBetween0And1.cs
│ │ ├── Settings
│ │ │ ├── HttpClientSettings.cs
│ │ │ ├── ProxyAndRecordSettings.cs
│ │ │ ├── ProxySaveMappingSetting.cs
│ │ │ ├── ProxySaveMappingSettings.cs
│ │ │ ├── ProxyUrlReplaceSettings.cs
│ │ │ ├── SimpleSettingsParser.cs
│ │ │ ├── WebhookSettings.cs
│ │ │ ├── WebProxySettings.cs
│ │ │ ├── WireMockCertificateSettings.cs
│ │ │ ├── WireMockServerSettings.cs
│ │ │ └── WireMockServerSettingsParser.cs
│ │ ├── Transformers
│ │ │ ├── Handlebars
│ │ │ │ ├── FileHelpers.cs
│ │ │ │ ├── HandlebarsContext.cs
│ │ │ │ ├── HandlebarsContextFactory.cs
│ │ │ │ ├── IHandlebarsContext.cs
│ │ │ │ └── WireMockHandlebarsHelpers.cs
│ │ │ ├── ITransformerContext.cs
│ │ │ ├── ITransformerContextFactory.cs
│ │ │ ├── ITransformer.cs
│ │ │ ├── Scriban
│ │ │ │ ├── ScribanContext.cs
│ │ │ │ ├── ScribanContextFactory.cs
│ │ │ │ ├── WireMockListAccessor.cs
│ │ │ │ └── WireMockTemplateContext.cs
│ │ │ ├── Transformer.cs
│ │ │ └── TransformModel.cs
│ │ ├── Util
│ │ │ ├── BodyParser.cs
│ │ │ ├── BodyParserSettings.cs
│ │ │ ├── BytesEncodingUtils.cs
│ │ │ ├── CompressionUtils.cs
│ │ │ ├── ConcurrentObservableCollection.cs
│ │ │ ├── CSharpFormatter.cs
│ │ │ ├── CultureInfoExtensions.cs
│ │ │ ├── DateTimeUtils.cs
│ │ │ ├── DictionaryExtensions.cs
│ │ │ ├── EnhancedFileSystemWatcher.cs
│ │ │ ├── FileHelper.cs
│ │ │ ├── GuidUtils.cs
│ │ │ ├── HttpStatusRangeParser.cs
│ │ │ ├── JsonUtils.cs
│ │ │ ├── MimeKitUtils.cs
│ │ │ ├── PathUtils.cs
│ │ │ ├── PortUtils.cs
│ │ │ ├── QueryStringParser.cs
│ │ │ ├── ReflectionUtils.cs
│ │ │ ├── RegexUtils.cs
│ │ │ ├── StreamUtils.cs
│ │ │ ├── StringUtils.cs
│ │ │ ├── SystemUtils.cs
│ │ │ ├── TinyMapperUtils.cs
│ │ │ └── UrlUtils.cs
│ │ ├── WireMock.Net.csproj
│ │ ├── WireMock.Net.ruleset
│ │ └── WireMock.Net.snk
│ ├── WireMock.Net.Abstractions
│ │ ├── Admin
│ │ │ ├── Mappings
│ │ │ │ ├── BodyModel.cs
│ │ │ │ ├── ClientIPModel.cs
│ │ │ │ ├── CookieModel.cs
│ │ │ │ ├── EncodingModel.cs
│ │ │ │ ├── FaultModel.cs
│ │ │ │ ├── HeaderModel.cs
│ │ │ │ ├── MappingModel.cs
│ │ │ │ ├── MatcherModel.cs
│ │ │ │ ├── ParamModel.cs
│ │ │ │ ├── PathModel.cs
│ │ │ │ ├── RequestModel.cs
│ │ │ │ ├── ResponseModel.cs
│ │ │ │ ├── StatusModel.cs
│ │ │ │ ├── TimeSettingsModel.cs
│ │ │ │ ├── UrlModel.cs
│ │ │ │ ├── WebhookModel.cs
│ │ │ │ ├── WebhookRequestModel.cs
│ │ │ │ ├── WebProxyModel.cs
│ │ │ │ └── XmlNamespace.cs
│ │ │ ├── Requests
│ │ │ │ ├── LogEntryModel.cs
│ │ │ │ ├── LogRequestMatchModel.cs
│ │ │ │ ├── LogRequestModel.cs
│ │ │ │ └── LogResponseModel.cs
│ │ │ ├── Scenarios
│ │ │ │ └── ScenarioStateModel.cs
│ │ │ └── Settings
│ │ │ ├── ProxyAndRecordSettingsModel.cs
│ │ │ ├── ProxyUrlReplaceSettingsModel.cs
│ │ │ ├── SettingsModel.cs
│ │ │ └── WebProxySettings.cs
│ │ ├── BuilderExtensions
│ │ │ ├── RequestModelBuilder.cs
│ │ │ └── ResponseModelBuilder.cs
│ │ ├── Constants
│ │ │ └── HttpRequestMethod.cs
│ │ ├── Extensions
│ │ │ ├── RequestModelExtensions.cs
│ │ │ └── ResponseModelExtensions.cs
│ │ ├── Handlers
│ │ │ └── IFileSystemHandler.cs
│ │ ├── IRequestMessage.cs
│ │ ├── IResponseMessage.cs
│ │ ├── Logging
│ │ │ ├── ILogEntry.cs
│ │ │ └── IWireMockLogger.cs
│ │ ├── Matchers
│ │ │ └── Request
│ │ │ ├── IRequestMatcher.cs
│ │ │ ├── IRequestMatchResult.cs
│ │ │ └── MatchDetail.cs
│ │ ├── Models
│ │ │ ├── IBodyData.cs
│ │ │ ├── ITimeSettings.cs
│ │ │ ├── IWebhook.cs
│ │ │ └── IWebhookRequest.cs
│ │ ├── ResponseBuilders
│ │ │ └── FaultType.cs
│ │ ├── Server
│ │ │ └── IWireMockServer.cs
│ │ ├── Types
│ │ │ ├── BodyType.cs
│ │ │ ├── ClientCertificateMode.cs
│ │ │ ├── CorsPolicyOptions.cs
│ │ │ ├── HostingScheme.cs
│ │ │ ├── MappingConverterType.cs
│ │ │ ├── QueryParameterMultipleValueSupport.cs
│ │ │ ├── ReplaceNodeOptions.cs
│ │ │ ├── TransformerType.cs
│ │ │ └── WireMockList.cs
│ │ └── WireMock.Net.Abstractions.csproj
│ ├── WireMock.Net.FluentAssertions
│ │ ├── Assertions
│ │ │ ├── WireMockANumberOfCallsAssertions.cs
│ │ │ ├── WireMockAssertions.cs
│ │ │ ├── WireMockAssertions.UsingMethod.cs
│ │ │ ├── WireMockAssertions.WithBody.cs
│ │ │ └── WireMockReceivedAssertions.cs
│ │ ├── Extensions
│ │ │ └── WireMockExtensions.cs
│ │ ├── Usings.cs
│ │ └── WireMock.Net.FluentAssertions.csproj
│ ├── WireMock.Net.Matchers.CSharpCode
│ │ ├── Matchers
│ │ │ └── CSharpCodeMatcher.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── WireMock.Net.Matchers.CSharpCode.csproj
│ ├── WireMock.Net.OpenApiParser
│ │ ├── Extensions
│ │ │ ├── DictionaryExtensions.cs
│ │ │ ├── OpenApiSchemaExtensions.cs
│ │ │ └── WireMockServerExtensions.cs
│ │ ├── IWireMockOpenApiParser.cs
│ │ ├── Mappers
│ │ │ └── OpenApiPathsMapper.cs
│ │ ├── Settings
│ │ │ ├── IWireMockOpenApiParserExampleValues.cs
│ │ │ ├── WireMockOpenApiParserDynamicExampleValues.cs
│ │ │ ├── WireMockOpenApiParserExampleValues.cs
│ │ │ └── WireMockOpenApiParserSettings.cs
│ │ ├── Types
│ │ │ ├── ExampleValueType.cs
│ │ │ ├── SchemaFormat.cs
│ │ │ └── SchemaType.cs
│ │ ├── Utils
│ │ │ ├── DateTimeUtils.cs
│ │ │ └── ExampleValueGenerator.cs
│ │ ├── WireMock.Net.OpenApiParser.csproj
│ │ └── WireMockOpenApiParser.cs
│ ├── WireMock.Net.RestClient
│ │ ├── Builders
│ │ │ └── ApiMappingModelBuilder.cs
│ │ ├── Extensions
│ │ │ ├── ResponseModelBuilderExtensions.cs
│ │ │ └── WireMockAdminApiExtensions.cs
│ │ ├── IWireMockAdminApi.cs
│ │ └── WireMock.Net.RestClient.csproj
│ ├── WireMock.Net.StandAlone
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── StandAloneApp.cs
│ │ ├── WireMock.Net.StandAlone.csproj
│ │ └── WireMock.Net.StandAlone.ruleset
│ ├── WireMock.Net.Testcontainers
│ │ ├── Models
│ │ │ └── ContainerInfo.cs
│ │ ├── WireMockConfiguration.cs
│ │ ├── WireMockContainerBuilder.cs
│ │ ├── WireMockContainer.cs
│ │ └── WireMock.Net.Testcontainers.csproj
│ ├── WireMock.Net.xUnit
│ │ ├── TestOutputHelperWireMockLogger.cs
│ │ └── WireMock.Net.xUnit.csproj
│ ├── WireMock.Org.Abstractions
│ │ ├── GetAdminMappingsByStubMappingIdResult.cs
│ │ ├── GetAdminMappingsResult.cs
│ │ ├── GetAdminRecordingsStatusResult.cs
│ │ ├── GetAdminRequestsUnmatchedNearMissesResult.cs
│ │ ├── GetAdminScenariosResult.cs
│ │ ├── Mapping.cs
│ │ ├── MappingsRequestBasicAuthCredentials.cs
│ │ ├── MappingsRequest.cs
│ │ ├── MappingsResponse.cs
│ │ ├── MappingsResponseFaultConstants.cs
│ │ ├── Meta.cs
│ │ ├── NearMisses.cs
│ │ ├── PostAdminMappingsFindByMetadataResult.cs
│ │ ├── PostAdminMappingsResult.cs
│ │ ├── PostAdminNearMissesRequestPatternResult.cs
│ │ ├── PostAdminNearMissesRequestResult.cs
│ │ ├── PostAdminRecordingsSnapshotResult.cs
│ │ ├── PostAdminRecordingsStopResult.cs
│ │ ├── PostAdminRequestsCountResult.cs
│ │ ├── PutAdminMappingsByStubMappingIdResult.cs
│ │ ├── RequestBasicAuthCredentials.cs
│ │ ├── Request.cs
│ │ ├── Response.cs
│ │ ├── ResponseFaultConstants.cs
│ │ ├── Scenarios.cs
│ │ ├── StatusConstants.cs
│ │ └── WireMock.Org.Abstractions.csproj
│ └── WireMock.Org.RestClient
│ ├── IWireMockOrgApi.cs
│ └── WireMock.Org.RestClient.csproj
├── test
│ └── WireMock.Net.Tests
│ ├── __admin
│ │ ├── mappings
│ │ │ ├── 00000002-ee28-4f29-ae63-1ac9b0802d86.json
│ │ │ ├── 00000002-ee28-4f29-ae63-1ac9b0802d87.json
│ │ │ ├── 351f0240-bba0-4bcb-93c6-1feba0fe8799.json
│ │ │ ├── array.json
│ │ │ ├── documentdb_root.json
│ │ │ ├── MyXmlResponse.xml
│ │ │ └── subdirectory
│ │ │ └── MyXmlResponse.xml
│ │ └── mappings.org
│ │ └── mapping1.json
│ ├── cert.pem
│ ├── client_cert.pfx
│ ├── Extensions
│ │ └── DictionaryExtensionsTests.cs
│ ├── FluentAssertions
│ │ └── WireMockAssertionsTests.cs
│ ├── Handlers
│ │ └── LocalFileSystemHandlerTests.cs
│ ├── Http
│ │ ├── ByteArrayContentHelperTests.cs
│ │ ├── HttpRequestMessageHelperTests.cs
│ │ └── StringContentHelperTests.cs
│ ├── MappingBuilderTests.cs
│ ├── MappingBuilderTests.GetMappings.verified.txt
│ ├── MappingBuilderTests.ToJson.verified.txt
│ ├── Matchers
│ │ ├── ContentTypeMatcherTests.cs
│ │ ├── CSharpCodeMatcherTests.cs
│ │ ├── ExactMatcherTests.cs
│ │ ├── ExactObjectMatcherTests.cs
│ │ ├── GraphQLMatcherTests.cs
│ │ ├── JmesPathMatcherTests.cs
│ │ ├── JsonMatcherTests.cs
│ │ ├── JsonPartialMatcherTests.cs
│ │ ├── JsonPartialWildcardMatcherTests.cs
│ │ ├── JsonPathMatcherTests.cs
│ │ ├── LinqMatcherTests.cs
│ │ ├── MatchBehaviourHelperTests.cs
│ │ ├── MimePartMatcherTests.cs
│ │ ├── Models
│ │ │ └── WireMockCustomScalarGraphTypeTests.cs
│ │ ├── NotNullOrEmptyMatcherTests.cs
│ │ ├── RegexMatcherTests.cs
│ │ ├── RequestMatchResultTests.cs
│ │ ├── SimMetricsMatcherTests.cs
│ │ ├── WildcardMatcherTest.cs
│ │ └── XPathMatcherTests.cs
│ ├── ObservableLogEntriesTest.cs
│ ├── OpenApiParser
│ │ ├── petstore-openapi3.json
│ │ └── petstore.yml
│ ├── Owin
│ │ ├── GlobalExceptionMiddlewareTests.cs
│ │ ├── HostUrlOptionsTests.cs
│ │ ├── Mappers
│ │ │ └── OwinResponseMapperTests.cs
│ │ ├── MappingMatcherTests.cs
│ │ └── WireMockMiddlewareTests.cs
│ ├── Pact
│ │ ├── files
│ │ │ ├── pact-get.json
│ │ │ └── pact-multiple.json
│ │ └── PactTests.cs
│ ├── Plugin
│ │ └── PluginLoaderTests.cs
│ ├── README.md
│ ├── RegularExpressions
│ │ └── RegexExtendedTests.cs
│ ├── RequestBuilders
│ │ ├── RequestBuilderTests.cs
│ │ ├── RequestBuilderUsingMethodTests.cs
│ │ ├── RequestBuilderWithBodyTests.cs
│ │ ├── RequestBuilderWithClientIPTests.cs
│ │ ├── RequestBuilderWithCookieTests.cs
│ │ ├── RequestBuilderWithGraphQLSchemaTests.cs
│ │ ├── RequestBuilderWithHeaderTests.cs
│ │ ├── RequestBuilderWithMultiPartTests.cs
│ │ ├── RequestBuilderWithParamTests.cs
│ │ ├── RequestBuilderWithPathTests.cs
│ │ └── RequestBuilderWithUrlTests.cs
│ ├── RequestMatchers
│ │ ├── RequestMessageBodyMatcherTests.cs
│ │ ├── RequestMessageCompositeMatcherTests.cs
│ │ ├── RequestMessageCookieMatcherTests.cs
│ │ ├── RequestMessageGraphQLMatcherTests.cs
│ │ ├── RequestMessageHeaderMatcherTests.cs
│ │ ├── RequestMessageMethodMatcherTests.cs
│ │ ├── RequestMessageMultiPartMatcher.cs
│ │ └── RequestMessageParamMatcherTests.cs
│ ├── RequestMessageTests.cs
│ ├── responsebody.json
│ ├── ResponseBuilders
│ │ ├── ResponseCreateTests.cs
│ │ ├── ResponseWithBodyFromFileTests.cs
│ │ ├── ResponseWithBodyTests.cs
│ │ ├── ResponseWithCallbackTests.cs
│ │ ├── ResponseWithFaultTests.cs
│ │ ├── ResponseWithHandlebarsDateTimeTests.cs
│ │ ├── ResponseWithHandlebarsFileTests.cs
│ │ ├── ResponseWithHandlebarsHelpersTests.cs
│ │ ├── ResponseWithHandlebarsHumanizerTests.cs
│ │ ├── ResponseWithHandlebarsJsonPathTests.cs
│ │ ├── ResponseWithHandlebarsLinqTests.cs
│ │ ├── ResponseWithHandlebarsRandomTests.cs
│ │ ├── ResponseWithHandlebarsRegexTests.cs
│ │ ├── ResponseWithHandlebarsXegerTests.cs
│ │ ├── ResponseWithHandlebarsXPathTests.cs
│ │ ├── ResponseWithHeadersTests.cs
│ │ ├── ResponseWithProxyTests.cs
│ │ ├── ResponseWithScribanTests.cs
│ │ ├── ResponseWithStatusCodeTests.cs
│ │ └── ResponseWithTransformerTests.cs
│ ├── Serialization
│ │ ├── CustomPathParamMatcher.cs
│ │ ├── CustomPathParamMatcherModel.cs
│ │ ├── LogEntryMapperTests.cs
│ │ ├── LogEntryMapperTests.LogEntryMapper_Map_LogEntry_Check_BodyTypeBytes.verified.txt
│ │ ├── LogEntryMapperTests.LogEntryMapper_Map_LogEntry_Check_ResponseBodyTypeFile.verified.txt
│ │ ├── LogEntryMapperTests.LogEntryMapper_Map_LogEntry_WhenFuncIsUsed_And_DoNotSaveDynamicResponseInLogEntry_Is_True_Should_NotSave_StringResponse.verified.txt
│ │ ├── LogEntryMapperTests.LogEntryMapper_Map_LogEntry_WithFault.verified.txt
│ │ ├── MappingConverterTests.cs
│ │ ├── MappingConverterTests.ToCSharpCode.cs
│ │ ├── MappingConverterTests.ToCSharpCode_With_Builder_And_AddStartIsFalse.verified.txt
│ │ ├── MappingConverterTests.ToCSharpCode_With_Builder_And_AddStartIsTrue.verified.txt
│ │ ├── MappingConverterTests.ToCSharpCode_With_Server_And_AddStartIsFalse.verified.txt
│ │ ├── MappingConverterTests.ToCSharpCode_With_Server_And_AddStartIsTrue.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_Request_WithBodyAsGraphQLSchema_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_Request_WithClientIP_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithDelay_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithHeader_And_Cookie_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_With_MultipleWebHooks.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithParam_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithPriority_ReturnsPriority.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithProbability_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithRandomDelay_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithRandomMinimumDelay_ReturnsCorrectModel.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_With_SingleWebHook.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithTimeSettings_ReturnsCorrectTimeSettings.verified.txt
│ │ ├── MappingConverterTests.ToMappingModel_WithTitle_And_Description_ReturnsCorrectModel.verified.txt
│ │ ├── MappingFileNameSanitizerTests.cs
│ │ ├── MatcherMapperTests.cs
│ │ ├── ProxyMappingConverterTests.cs
│ │ ├── ProxyMappingConverterTests.ToMapping_UseDefinedRequestMatchers_True.verified.txt
│ │ ├── WebhookMapperTests.cs
│ │ ├── WebhookMapperTests.WebhookMapper_Map_WebhookModel_BodyAsJson.verified.txt
│ │ ├── WebhookMapperTests.WebhookMapper_Map_WebhookModel_BodyAsString_And_UseTransformerIsFalse.verified.txt
│ │ ├── WebhookMapperTests.WebhookMapper_Map_WebhookModel_BodyAsString_And_UseTransformerIsTrue.verified.txt
│ │ └── WebhookMapperTests.WebhookMapper_Map_Webhook_To_Model.verified.txt
│ ├── Settings
│ │ └── SimpleSettingsParserTests.cs
│ ├── StatefulBehaviorTests.cs
│ ├── Testcontainers
│ │ └── TestcontainersTests.cs
│ ├── TestUtils.cs
│ ├── Transformers
│ │ ├── Handlebars
│ │ │ └── HandlebarsContextFactoryTests.cs
│ │ └── Scriban
│ │ └── ScribanContextFactoryTests.cs
│ ├── Util
│ │ ├── BodyParserTests.cs
│ │ ├── BytesEncodingUtilsTests.cs
│ │ ├── CompressionUtilsTests.cs
│ │ ├── CSharpFormatterTests.cs
│ │ ├── CultureInfoUtilsTests.cs
│ │ ├── FileHelperTests.cs
│ │ ├── HttpStatusRangeParserTests.cs
│ │ ├── JsonUtilsTests.cs
│ │ ├── PathUtilsTests.cs
│ │ ├── PortUtilsTests.cs
│ │ ├── QueryStringParserTests.cs
│ │ ├── RegexUtilsTests.cs
│ │ ├── StringUtilsTests.cs
│ │ ├── SystemUtilsTests.cs
│ │ └── UrlUtilsTests.cs
│ ├── VerifyExtensions
│ │ ├── VerifyNewtonsoftJson.cs
│ │ └── VerifySettingsExtensions.cs
│ ├── WireMockAdminApiTests.cs
│ ├── WireMockAdminApiTests.IWireMockAdminApi_GetMappingAsync_WithBodyModelMatcherModel_WithoutMethods_ShouldReturnCorrectMappingModel.verified.txt
│ ├── WireMockAdminApiTests.IWireMockAdminApi_GetMappingAsync_WithProxy_And_ProxyUrlReplaceSettings.verified.txt
│ ├── WireMockAdminApiTests.IWireMockAdminApi_GetMappingByGuidAsync.verified.txt
│ ├── WireMockAdminApiTests.IWireMockAdminApi_GetMappingCodeByGuidAsync.verified.txt
│ ├── WireMockAdminApiTests.IWireMockAdminApi_GetMappingsCode.verified.txt
│ ├── WireMock.Net.Tests.csproj
│ ├── WireMockServer.Admin.cs
│ ├── WireMockServer.AdminFiles.cs
│ ├── WireMockServer.Authentication.cs
│ ├── WireMockServer.ImportWireMockOrg.cs
│ ├── WireMockServer.Proxy2.cs
│ ├── WireMockServer.Proxy.cs
│ ├── WireMockServer.Settings.cs
│ ├── WireMockServerTests.ClientCertificate.cs
│ ├── WireMockServerTests.cs
│ ├── WireMockServerTests.WithBody.cs
│ ├── WireMockServerTests.WithCallback.cs
│ ├── WireMockServerTests.WithMultiPart.cs
│ ├── WireMockServerTests.WithParam.cs
│ ├── WireMockServerTests.WithProbability.cs
│ ├── WireMockServer.WebhookTests.cs
│ └── WithMapping
│ └── WireMockServerWithMappingTests.cs
├── tools
│ └── MultipartUploader
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── MultipartUploader.csproj
│ └── Program.cs
├── WireMock.Net Solution.sln
└── WireMock.Net Solution.sln.DotSettings
172 directories, 760 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论