SoapUI Maven Plugin Fails to read HTTP Responses in Jenkins
Currently, we are running a number of automated tests in jenkins upon successfully building a microservice and deploying it. The tests utilize the SoapUI Maven Plugin (We're using version 5.3.0).
Everything runs as expected, but there is one problem which has us completely stumped: none of the rest requests made in the tests are able to read responses. The requests made from the SoapUI tests get through to the microservices, and the response is given as expected. However, for some reason, SoapUI doesn't read the response and the connection times out:
09:26:58 09:26:58,921 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: PUT /injectmessage/argos_sit2_sterling_cc_asn_v1 HTTP/1.1
09:27:58 09:27:58,981 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Connection closed
Later on in the logs, it shows that the connection has timed out.
When running the same tests locally, we get a response as expected. This led us to believe that there was an issue with communications between jenkins and our microservices. However, after running a shell script on the jenkins machine making the exact same request, we noticed that the response was received as expected.
This leaves us with the following conclusion: Given that we can replicate the request being made in the tests on the same machine (running shell script through same jenkins instance) and they give the response as expected, it must be an issue with the SoapUI Plugin
I hope that someone on this forum is able to point us in a direction to try some other form of problem solving, but for the time being we're unable to see a light at the end of the tunnel...
Thanks for reading,