Forum Discussion

Farisbacker's avatar
Farisbacker
New Contributor
9 years ago

How to enable TLSv1.2 for Testrunner

I have configured the vmoption file. Its working fine when i trigger request directly using play button. But while same testcase fails when I

ran through Testrunner with SSLhandshake error. Please let me know if there is any configuration to be done Testrunner to support tlsv1.2
    • Close SoapUI if running.
    • Go to SOAPUI_HOME/bin directory
    • Have a backup of testrunner.bat/.sh file depending on the OS
    • Open the file in a text editor of your choice
    • Locate line containing set JAVA_OPTS
    • Add the below line there

    set JAVA_OPTS = %JAVA_OPTS% -Dsoapui.https.protocols=TLSv1.2

    • Save the file

    Now you should be able use TLSv1.2.

  • nmrao's avatar
    nmrao
    Champion Level 3
    • Close SoapUI if running.
    • Go to SOAPUI_HOME/bin directory
    • Have a backup of testrunner.bat/.sh file depending on the OS
    • Open the file in a text editor of your choice
    • Locate line containing set JAVA_OPTS
    • Add the below line there

    set JAVA_OPTS = %JAVA_OPTS% -Dsoapui.https.protocols=TLSv1.2

    • Save the file

    Now you should be able use TLSv1.2.