mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Why WireMock.Net.Testcontainers doesn't use official docker image? #536
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iikuzmychov on GitHub (Jul 21, 2023).
As I see, WireMock.Net.Testcontainers uses non-official images (
sheyenrath/wiremock.net&sheyenrath/wiremock.net-windows).What is the reason? Why we don't use
wiremock/wiremockinstead?@StefH commented on GitHub (Jul 21, 2023):
These are official ;-)
These images my images which I release for this WireMock.Net project. (it's .NET not Java)
(https://github.com/WireMock-Net/WireMock.Net-docker)
For
wiremock/wiremockI think a C# .NET TestContainer will also be available in the future.@iikuzmychov commented on GitHub (Jul 21, 2023):
Okay, thank you for the response.
I have one more related question. I can't understood how the next is possible.
I see this request matcher in
/__admin/mappings:which was loaded from this .json file:
And this is correct, as I understand. But when I try call the URI (
/manageToken/getToken?Key=VETFUecmFcPIeW65HZecew6D2aka&Secret=rc6vEixBUf70fFsCFJfOvffrKDQa), I got 404:I'm using WireMock.Net.Testcontainers with static mounting. This is the container logs:
@StefH commented on GitHub (Jul 21, 2023):
@iikuzmychov
Your mapping files are wiremock.org mapping files, which cannot be used in this project.
See- https://github.com/WireMock-Net/WireMock.Net/issues/979