Soap UI: ERROR:java.net.SocketException: Connection reset

WINDOWS

Option 1:

  1. find the following file on your computer (make sure you have write access to the file): C:\Program Files\SmartBear\SoapUI-5.2.1\bin\SoapUI-5.2.1.vmoptions

  2. Add the following line to the file:

-Dsoapui.https.protocols="SSLv3,TLSv1.2"

  1. Run SoapUI with the .exe file (SoapUI-5.2.1.exe)

Option 2: (if option 1 does not work for you).

  1. Edit the following batch file on your computer (make sure you have write access to the file): C:\Program Files\SmartBear\SoapUI-5.2.1\bin\soapui.bat
  2. Add the following line to the file (after: if "%SOAPUI_HOME%" == "" goto START):

set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.https.protocols="SSLv3,TLSv1.2"

  1. Run SoapUI with the batch file (soapui.bat)

MAC (OSX)

The default install location for Mac is in the root Applications folder, and the vmoptions.txt file is in there. Right-click the SOAPUI .app file (in the /Applications folder), and choose "Show Package Contents" to get to the internal files.

/Applications/SoapUI-X.X.X.app/Contents/vmoptions.txt

Add the following line to the vmoptions.txt file:

-Dsoapui.https.protocols=TLSv1.2

LINUX

  1. Edit: bin/SoapUI-5.3.0.vmoptions in SoapUI directory

  2. Add the following line to the file:

-Dsoapui.https.protocols=TLSv1.2

I hope it helps.


Tried all solutions but nothing worked. It started to work after ignoring jre directory in SoapUI. So if above solutions won't work for you then try this:

  1. Close SoapUI
  2. Go to SoapUi directory for example: C:\Program Files\SmartBear\SoapUI-5.3.0\
  3. Rename directory "jre" to "jre.ignore"
  4. Done. Open SoapUi and it should work now.

Tags:

Java

Soapui