cancel
Showing results for 
Search instead for 
Did you mean: 

Running Data Driven Testing from jenkin using TestExecute

SOLVED
VeenaDevi
Occasional Contributor

Running Data Driven Testing from jenkin using TestExecute

Hi ,

I am trying to execute my Funtional TestCase (Which have data Source and Data Source Loop , and its  pass while execute from Ready API.

I launch the same test case from Jenkin with TestExecute plugin.

In tried to add as xml file and also tried to keep the excel file and xml in same folder and zipped and gave as zip path , in both , its failing with error 

 

Let me know how to configure Data Source in project if we want to trigger via any CI/CD Tool 

 

Response code: 412,
TestCase 1/DataSource' couldn't access the provided file
either you aren't authorized or the path doesn't exist.

 

1 ACCEPTED SOLUTION

Accepted Solutions
sonya_m
Community Manager

Re: Running Data Driven Testing from jenkin using TestExecute

Hi @VeenaDevi !

I found a similar question we had with support, this might be helpful for you, as well:

 

>>If you use external files (external data sources, certificates, attachments, etc.) in the test, you need to pack the project and all the required files into a zip package, and provide the resulting archive in the request sent to TestEngine. Please refer to the following help topic for details:
https://support.smartbear.com/readyapi/docs/testengine/how-to/run-test.html

<<

 

As for the paths, these are best practices:

https://support.smartbear.com/testengine/docs/how-to/run-test.html

 

Not sure if this is the case for you, but sometimes once the path to the excel file is added to allowed paths in the TestEngine admin Web UI the data source is able to access the excel file.

 

Let me know if this is helpful.

 

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
sonya_m
Community Manager

Re: Running Data Driven Testing from jenkin using TestExecute

Hi @VeenaDevi !

I found a similar question we had with support, this might be helpful for you, as well:

 

>>If you use external files (external data sources, certificates, attachments, etc.) in the test, you need to pack the project and all the required files into a zip package, and provide the resulting archive in the request sent to TestEngine. Please refer to the following help topic for details:
https://support.smartbear.com/readyapi/docs/testengine/how-to/run-test.html

<<

 

As for the paths, these are best practices:

https://support.smartbear.com/testengine/docs/how-to/run-test.html

 

Not sure if this is the case for you, but sometimes once the path to the excel file is added to allowed paths in the TestEngine admin Web UI the data source is able to access the excel file.

 

Let me know if this is helpful.

 

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors