Forum Discussion
NewAutoTester
Contributor
Hi Rao,
I have the library files in src/test/resources path in cucumber project in both the machines and setting them up after loading the project like mentioned below.
project = new WsdlProjectPro("src/test/resources/xml/SoapUI"); project.setScriptLibrary("src/test/resources/groovy/");
This is working for all the test cases but not all the time.
Regards
nmrao
5 years agoChampion Level 3
Libraries,yYou mean below class?
"com.common.Transactions"
"com.common.Transactions"
- NewAutoTester5 years agoContributor
Hi Rao,
Yes, we created a com.common.Transactions.groovy custom class. This is not getting imported in the groovy test step some times.
Regards
- nmrao5 years agoChampion Level 3Otherway is to compile and create a jar file and copy it under READYAPI_HOME/bin/ext directory.
You may look at below library by our community expert Mr. Ruprert Anderson.
http://rupertanderson.com/blog/1-how-to-develop-add-and-use-a-custom-groovy-library-in-soapui/- NewAutoTester5 years agoContributor
Thanks Rao. We increasing the heap size to load script library and it worked.
Related Content
- 10 months ago
- 10 months ago