Forum Discussion

wqazi's avatar
wqazi
New Contributor
7 years ago

How to invoke customize file instead of com.eviware.soapui.tools.SoapUIToolRunner from jenkins

I have updated testrunner.bat file and updated with my own file from com.eviware.soapui.tools.SoapUITestCaseRunner and  kept that jar under lib folder.

But when integrated with jenkins it is invoking out of box i.e com.eviware.soapui.tools.SoapUITestCaseRunner file.

is there way to override this class from jenkins? and where do i need to keep that jar file?

Thanks 

 

 

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    wqazi,
    testrunner(.bat/.sh) utility of SOAPUI_HOME/bin directory is used to execute the soapui project.

    If you look at the above utility, you would notice the class that is being called there and it includes classpath etc.

    Similarly you can create another utility, say customTestrunner, based on that and call your class, include the classpath.

    Use customTestrunner in jenkins to execute the project.