mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-05 23:44:08 +02:00
Updated Using WireMock.Net.Testcontainers (markdown)
@@ -27,6 +27,7 @@ The following builder methods are available for the `WireMockContainerBuilder`:
|
||||
| `WithMappings` | `.WithMappings(@"C:\example\\mappings")` | Specifies the path for the (static) mapping json files.
|
||||
| `WithWatchStaticMappings` | `.WithWatchStaticMappings(true)` | Watch the static mapping files + folder for changes when running.
|
||||
| `WithAdminUserNameAndPassword` | `.WithAdminUserNameAndPassword("x", "y")` | Set the admin username. and password for the container (basic authentication).
|
||||
| `WithImage` | `.WithImage("sheyenrath/wiremock.net-alpine:1.6.4")` | You can provide a specific image + tag.
|
||||
|
||||
### Create a Admin Client
|
||||
Use the following code to get a [RestEase Admin Client](https://github.com/WireMock-Net/WireMock.Net/wiki/Admin-API-Reference#client-api) for this running container instance.
|
||||
|
||||
Reference in New Issue
Block a user