Deloitte_Consul
12 years agoContributor
GroovyUtils object is not working through jenkins
Hi All,
We have integrated SoapUi - Maven and jenkins and all the test scripts execution is done through Jenkins.
In one of the test case, we are opening external excel file through groovy script and to make the excel path more generic we are using GroovyUtils object to get Project base path which is working file in soapUI but through jenkins it is giving null (blank), please find attached snapshots.
We have also tried using "testRunner.testCase.testSuite.project.path" which is too working fine in soapUI but through jenkins is gives only Project name.
Any help will be anticipated. Thanks in advance
Regards
Deepak Rawat
We have integrated SoapUi - Maven and jenkins and all the test scripts execution is done through Jenkins.
In one of the test case, we are opening external excel file through groovy script and to make the excel path more generic we are using GroovyUtils object to get Project base path which is working file in soapUI but through jenkins it is giving null (blank), please find attached snapshots.
We have also tried using "testRunner.testCase.testSuite.project.path" which is too working fine in soapUI but through jenkins is gives only Project name.
Any help will be anticipated. Thanks in advance
Regards
Deepak Rawat