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.
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.