Files
WireMock.Net/test/WireMock.Net.Tests
Jayaraman Venkatesan 1962437dcd Added feature to enable and disable mappings (#1437)
* feat/1421 added feature to enable and disable mappings

* feat/1421 updated test constants to reflect 2 new admin endpoints /enable and /disable

* feat/1421 updated tests to fix flakyness - removed delay before assertion that is causing upstream connection from proxy to teardown prematurely before test ends

* feat/1421 addressing PR comments - Updated logic to represent IsDisable insted of IsEnabled
2026-04-24 08:07:37 +02:00
..
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00
2026-03-11 17:02:47 +01:00

Creating a client certificate like client_cert.pfx

Follow the instructions to create a root certificate, then trust it and create a child certificate from it.

Since the root certificate of client_cert.pfx is obviously not trusted automatically by cloning this repo, the tests in WireMockServerTests.ClientCertificate.cs set WireMockServerSettings.AcceptAnyClientCertificate to true so that tests pass even if the device hasn't trusted the root of client_cert.pfx.