Catherine Mackie
06/03/2024, 1:32 PMorg.springframework.web.client.ResourceAccessException: I/O error on POST request for "<http://localhost:57360/><SOME_ID>/<url_slug>": Read timed out
The timestamp for that exception is about: 2024-06-03T14:12:35.41383+01:00
I can then see that WireMock then responds in a very short time after hitting this exception:
2024-06-03 14:12:35.428 Request received:
127.0.0.1 - POST /<SOME_ID>/<url_slug>
Is this an issue anyone has experienced before? Thanks in advance!Bas Dijkstra
06/03/2024, 7:14 PMBas Dijkstra
06/03/2024, 7:16 PMCatherine Mackie
06/04/2024, 8:09 AMorg.wiremock:wiremock-standalone:3.3.1
which hasn't changed since February.
I don't believe anything has changed in the network setup, I'm setting it up in a similar way to how I wrote these tests when I initially wrote them in wiremock.
My current working theory is that the stub isn't quite properly attached in time for my request, the Spring Context I believe fully starts before running the tests, at which point I try and attach two stubs before making the request to the client. I've been trying to find ways to check these are in place before making the request but haven't found it so farBas Dijkstra
06/04/2024, 8:12 AM