Forum Discussion

tom5610's avatar
14 years ago

How to read properties with Groovy while driving with Maven

Hi Mates,

I am working on a data driven testing solution with SoapUI open source version. I got a problem on finding the resource files while running my test cases with SoapUI Maven plugin (v4.0.1).

While using SoapUI toolkit, I can just put the resource files under '${SoapUI_HOME}/bin' folder, then System can retrieve the resources files with Groovy script. However, while running the test cases with Maven plugin, even though I put those resource files under 'test/resources' folder, the file not found exception is thrown in Maven test phase.

Could anyone give me some hints about it? Meanwhile, I would also like to have your idea about how SoapUI Maven plugin identify resource files or Groovy script files, etc.

Thanks a lot!

Cheers!
Tom
No RepliesBe the first to reply