mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-09-02 08:57:29 +02:00
Page:
Mapping
Pages
Admin API Reference
Compatibility WireMock.org
Conflict on Microsoft.CodeAnalysis.CSharp
Cors
Could not load file or assembly RestEase
Development Information
Faults
FluentAssertions
Home
KestrelServerOptions
Mapping
MimeKit and MimeKitLite
MyGet preview versions
Pact
Proxying
References
RegexExtended
Request Matcher FormUrlEncodedMatcher
Request Matchers
Request Matching CSharpCode
Request Matching GraphQLMatcher
Request Matching JsonMatcher
Request Matching JsonPartialMatcher
Request Matching JsonPartialWildcardMatcher
Request Matching JsonPathMatcher
Request Matching MimePartMatcher
Request Matching ProtoBuf
Request Matching Tips
Request Matching
Response Templating
Scenarios and States
Settings
Stubbing
Using HTTPS (SSL)
Using WireMock in UnitTests
Using WireMock.Net.Aspire
Using WireMock.Net.Testcontainers
Webhook
What Is WireMock.Net
WireMock as a (Azure) Web App
WireMock as a Windows Service
WireMock as a standalone process
WireMock as dotnet tool
WireMock commandline parameters
WireMock.Org
Xamarin Could not load file or assembly
Clone
9
Mapping
Stef Heyenrath edited this page 2021-02-16 07:47:51 +01:00
Table of Contents
Mapping
WireMock.Net is controlled by mappings which define the Request and how this should be matched. And the Response is defined; what response should be returned.
Adding or updating mappings
Adding or updating mappings can be done via the
Static Mappings
It's also possible to copy the mapping files in a folder so that these will be picked up when starting the WireMock.Net server.
Place the .json mappings files in __admin\mappings folder.
For example, see this location.
See also the settings for more information about how to define the settings.
Pages
- Home
- What is WireMock.Net
- WireMock.Org
- References
- Settings
- Admin REST API
- Proxying
- Stubbing
- Webhook
- Request Matching
- Response Templating
- Unit Testing
- Using WireMock
- Advanced
- Errors