Monday, August 05, 2019

Soap UI fail to handshake with Salesforce

I faced this when doing Salesforce Trailhead : SOAP API Unit , it has nothing to do with token or password but something to do with TLS version. The solution can be referred here but I will re-write back how I solved this.

Note that I am using Windows 10 and SoapUI 5.3.0 .

Navigate to your SoapUI folder where it should be something C:\Program Files (x86)\SmartBear\SoapUI-5.3.0\bin . Notice there .vmoptions file.


Open that file and paste this

-Dsoapui.https.protocols=SSLv3,TLSv1.2
So it end result will look like this .
-XX:MinHeapFreeRatio=20

-XX:MaxHeapFreeRatio=40

-Xms128m

-Xmx1000m

-Dsoapui.properties=soapui.properties

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

-Dsoapui.home=C:\Program Files (x86)\SmartBear\SoapUI-5.3.0/bin

-Dsoapui.ext.libraries=C:\Program Files (x86)\SmartBear\SoapUI-5.3.0/bin/ext

-Dsoapui.ext.listeners=C:\Program Files (x86)\SmartBear\SoapUI-5.3.0/bin/listeners

-Dsoapui.ext.actions=C:\Program Files (x86)\SmartBear\SoapUI-5.3.0/bin/actions

-Dwsi.dir=C:\Program Files (x86)\SmartBear\SoapUI-5.3.0/wsi-test-tools

-Djava.library.path=C:\Program Files (x86)\SmartBear\SoapUI-5.3.0/bin

-Djava.util.Arrays.useLegacyMergeSort=true

-splash:SoapUI-Spashscreen.png
It should working now. Happy developing!

No comments:

Post a Comment