Forum Discussion

Uri's avatar
15 years ago

Importing classes in SoapUI Runner

Hi,

I'm trying to run a SoapUI Runner in my testcase. In the SoapUI testcase, I use groovy and have lines like "import mypackage.*", and when running from SoapUI, everything works fine (I put the jar files for the classes in the soapUI/ext directory). However, LoadUI doesn't recognize my classes when I try to run.
And ideas?

Thanks,
Uri
  • Hi,

    Please try creating loadui-home/ext folder and putting jar file there.
    Let us know if the problem continues.

    Regards,
    Dragica
    /eviware.com
  • surinam's avatar
    surinam
    Occasional Contributor
    Hi all,

    I have the same problem with importing jar files into loadUi
    and creating the /ext folder doesn't work.

    loadui startup log:
    [SoapUI] Failed to add jar to org.apache.felix.framework.ModuleImpl$ModuleClassLoader, trying parent
    [SoapUI] Added [file:/c:/.../LOADUI/loadUI-1.0-beta2/./ext/my.jar] to classpath

    import in soapui test case (groovy script test step) invokes this error:
    Script1.groovy: 1: unable to resolve class com.my.my.my.types.Input

    tested on loadui build from 9.6.2010

    thanks for help,
    surinam
  • surinam's avatar
    surinam
    Occasional Contributor
    Hi,
    jar files from soapui_3.6/bin/ext are still not recognized in loadUI_1.0
    Could you help me with this bug?

    thanks,

    surinam