Forum Discussion

asseldonk01's avatar
asseldonk01
Contributor
14 years ago

Calling general set of groovy scripts from each testcase

Hi, I have a soapui project with several testsuites and each testsuite contains several testcases. These testcases contain XML files with project variables and groovy scripts.
There are disabled groovy scripts and enabled groovy scripts to call the disabled ones. These groovy scripts get and set project variables.

Until now each time I have copied the set of groovy scripts to a testcase and than called them from within that testcase.

Of course it is more maintable if I can store these scripts on a central location within the project and call them from each testcase.

Is there a way I can do this?


Thanks
Ed van Asseldonk

2 Replies

  • Thanks for your help.
    This would be a good solution when this customer uses the Pro version. Unfortunately we have to use the free soapui version (3.6.1)
    Are there any other suggestions?