Forum Discussion

SumitM's avatar
SumitM
Occasional Contributor
6 years ago

Reg: Unable to run my Groovy script from Jenkins.

Hi,   I am unable run my Groovy script from Jenkins. Jenkins Groovy script is unable to resolve imported classes. I have copied the Jar file in ..../<groovy home dir>/lib, ..../jre/lib, ..../<gro...
  • Nastya_Khovrina's avatar
    6 years ago

    Hi SumitM,

     

    By default, ReadyAPI uses script libraries from the <ReadyAPI installation>\bin\scripts folder: https://support.smartbear.com/readyapi/docs/testing/scripts/library.html

    If you run your tests in Jenkins using the default soapui-settings.xml file, testRunner will search for scripts in the <ReadyAPI installation>\bin\scripts folder on the machine where you run your tests.

     

    If you have jar files which you need to use, these files should be placed in the <ReadyAPI installation>\bin\ext folder on the machine where you run your tests.