Forum Discussion

rjames128's avatar
rjames128
New Contributor
14 years ago

Issues with Groovy Scripts compiled into jars

I have compiled and jared my Groovy Scripts for a project. In SoapUI 3.6.1 I could drop the jar in the ext folder and run the project with the testrunner and get results. When I do that with SoapUI 4.0.0 I do not get any status reported in my test cases. I have done some research and it appears to be caused by the change from Groovy 1.7.5 to Groovy 1.8 when they moved a class to a new package.

The class in question moved from org.codehaus.groovy.transform.powerassert.ValueRecorder to org.codehaus.groovy.runtime.powerassert.ValueRecorder.

Thanks
Robert

2 Replies

  • rjames128's avatar
    rjames128
    New Contributor
    As a follow up, I have noticed that this issue with the testrunner only happens when you try to run all of the tests in a test suite with more than one test case, and it does not happen if you only run a specific test case in a test suite.

    Thanks
    Robert
  • rjames128's avatar
    rjames128
    New Contributor
    I just changed my project to use the raw groovy scripts in a groovy script library using the pro version, and I get the same results. If I run one test case, it works, if I run all of the test cases in a test suite it fails.

    Thanks
    Robert