WireMock.Net icon indicating copy to clipboard operation
WireMock.Net copied to clipboard

Launch container in Proxy mode with Testcontainers

Open sfields-metabolon opened this issue 10 months ago • 3 comments

Is your feature request related to a problem? Please describe. I'm using testcontainers to create instances of Wiremock, however I can't find a way to launch the instance in Global Proxy mode. The Global Proxy example provided here only shows how to launch into this mode using WireMockServer.Start().

Describe the solution you'd like Allow the use of Global Proxy mode when using testcontainers.

sfields-metabolon avatar Mar 09 '25 03:03 sfields-metabolon

@sfields-metabolon I think you can also use command line options for Testcontainers, see

  • https://github.com/WireMock-Net/WireMock.Net/wiki/WireMock-commandline-parameters#settings
  • https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#proxyandrecordsettings

StefH avatar Mar 10 '25 17:03 StefH

@sfields-metabolon Did you check those wiki pages?

StefH avatar May 10 '25 06:05 StefH

@sfields-metabolon Did you check those wiki pages?

StefH avatar Dec 05 '25 08:12 StefH