Forum Discussion

helgi's avatar
helgi
Occasional Contributor
9 years ago

TestCase works in SoapUI gui, but not via testrunner.sh

Hi!   I have soap request that works in SoapUI gui, I also added it into test case, that works in gui also. But when I'm running it via testrunner.sh, I'm getting next error: ./testrunner.sh -s"T...
  • helgi's avatar
    helgi
    9 years ago

    I found solution!

    Looks like testrunner doesn't use parameters from vmoptions.

    So I added next parameters into testrunner.sh:

    JAVA_OPTS="-Xms128m -Xmx3948m -Djava.util.Arrays.useLegacyMergeSort=true -Dsun.security.ssl.allowUnsafeRenegotiation=true -Dsun.net.http.allowRestrictedHeaders=true -Dsoapui.https.protocols=SSLv3,TLSv1,TLSv1.1,TLSv1.2 -Dhttps.protocols=SSLv3,TLSv1,TLSv1.1,TLSv1.2 -Dsun.security.ssl.allowLegacyHelloMessages=true -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 -Dsoapui.home=$SOAPUI_HOME/bin"

    And it works now!

     

    Thanks.

    Oleg.