Forum Discussion

mh350's avatar
mh350
Occasional Contributor
8 years ago

SoapUI 5.0.0 freeze when invoking JDBC test step several times from groovy code

Hi

 

In order to avoid duplication, I wrote some groovy code that invokes a JDBC Test step, basically the SQL request is changed each time via the .setQueryMethod but the same JDBC Test step is reused. Painfully, from time to time I am encountering freezes and then have to restart SoapUI. I have tried to no avail :

 

=>Increasing MaxPermSize in both SoapUI-5.0.0.vmoptions and soapui.bat

=>pre-aggregrating insert requests to reduce number of invocations (I dont know about the step allowing batch insertion)

=>Invoking method .release after calling  testRunner.runTestStepByName("..."), I didnt find out it's description but it's name sounded promising at the time.

=>Removing the script assertion but freezes occur in both cases

 

Any help would be appreciated.

 

Best regards!

 

 

 

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Really not sure if it was case.

    You may also can take certain pre-cautions such as closing unused projects from workspace.
    Also SoapUI can be used to design your tests and use its "testrunner" utility to execute the tests that way you are not bothered about.

    Also, there is new release of SoapUI 5.3, please try it out if you wish. Good luck.
    • mh350's avatar
      mh350
      Occasional Contributor

      Hi 

       

      I tried using Soapui 5.3, but I have the same issues.

       

      Best regards!