Forum Discussion

ply's avatar
ply
Occasional Contributor
16 years ago

In soapui pro, unable to run groovy class : class not found (was OK in 2.5)

Hello,

   I try to build my own groovy class. As it does not work, so I try to use the "greet class".

  def greet = new soapui.demo.Greet( "Ole", log )
  greet.salute()

  => unable to resolve class soapui.demo.Greet

  Of course I checked the preferences and I check that the file Greet.grovy file is in the right folder.

  But where are the compiled java classes ? Does the groovy classes automaticaly loaded every each 5 seconds?

Thanks,
PHL.

1 Reply

  • ply's avatar
    ply
    Occasional Contributor
    I try in soapUI 2.5 : New testCase + New groovy script +

    def greet = new soapui.demo.Greet( "Ole", log )
    greet.salute()

    Run : every things are OK.

    Do the same thing with soapUI pro 3.0.1, this fails : Class not found.

    I try to modify my 3.0.1 preferences : same problem, the groovy class is not found.