09/29/2023, 10:08 AM
Hello, I'm trying to make a stub for an asynchronous request when I use java, it works for me, but when I try using the wiremock api, I don't get a callback. I'm sending
I use image: wiremock/wiremock:3.1.0
09/29/2023, 10:46 AM
Just tried this with 3.2.0 standalone and it worked fine. If you’re in Docker, perhaps it’s because localhost isn’t pointing where you think?
09/29/2023, 11:31 AM
I tried to do it via standalone, the callback did not return. Am I doing something wrong?
09/29/2023, 11:32 AM
Can’t see anything wrong there. That’s exactly what I did.
Are you certain your listening process on 8080 is set up correctly?
09/29/2023, 11:34 AM
09/29/2023, 11:35 AM
I tested it by running another WireMock instance on port 8080 with
. Could you try that and see if the callback appears in the console log?
09/29/2023, 11:45 AM
Thank you very much, it really works. The problem was with the docker