Forum Discussion

vhTesting01's avatar
vhTesting01
New Contributor
4 years ago
Solved

[SoapUI] Groovy script calling evaluate(File) function has problems with my project's package

Hello,

just briefly explaining the concept: I have git repo, mvn project with structure:

Spoiler

+-soap.xml

+-fileN

     |

     +script .groovy files doing some tasks

+-src

     |

    +main

          |

          +java

               |

               +package including my custom helper classes
+-pom.xml

 

 

My soapUI is using script step alongside with groovy function evaluate(File) -> to run the script .groovy file

 

now this is working okay, the problem came when I started to create my own helper classes under src/main/java/myPackage ....while checking and running  scripts from IDEA, classes are imported to the scripts fine and are working; when I try to evaluate same working script file from SoapUI script step, I am getting error: No class found 

2 Replies