Running Data Driven Testing from jenkin using TestExecute
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.
Solved! Go to Solution.
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:
As for the paths, these are best practices:
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.
Community and Education Specialist