cancel
Showing results for 
Search instead for 
Did you mean: 

java.net.ConnectException: Connection refused during ant integrationtests

n1kk1
Discoverer
0 Kudos

I have Integration test which have call to a configured WireMock server. I can see in the logs, that wiremock starts successfully, also I can curl the URL, but when I'm trying to reach URL from test via Spring Integration Gateway I get java.net.ConnectException: Connection refused.

By the way, everything works fine if I start server via ./hybrisserver.sh and run test from /test.
But it's also important for me to make it work via ant integrationtests.

Accepted Solutions (0)

Answers (0)