Error when invoking task to devops pipeline for "SoapUI Pro for Azure DevOps
Hi,
Have added a task to devops pipeline for "SoapUI Pro for Azure DevOps". Have set the following configuration.
Path to TestRunner:
"have left blank"
Path to SoapUI Pro project:
ReadyAPITests\sample-readyapi-project.xml
Getting error:
Exception calling "Execute" with "0" argument(s): "Could not find the path 'bin\testrunner.bat'."
Have tried a number of path combinations but always errors, another error was the following when trying to specify full path from another error message saying that it could not find the test runner batch file.
Exception calling "Execute" with "0" argument(s): "Could not find file '..\_tasks\SoapUIProForAzureDevOpsTask_712dda37-2b62-4e68-950d-e85a85d51fc4\1.0.0\testrunner.bat'."
Hosted VS2017 (Hosted VS2017)
Note: Using DevOps Cloud
Conveyed the same to Microsoft Visual studio team. Link reference : https://developercommunity.visualstudio.com/content/problem/515228/error-when-invoking-task-to-devops-pipeline-for-so.html
How to resolve the above error
Thanks,
Hi Olga_T ,
Appreciate your note. Have already created a support ticket and with their help I was able to resolve this.
Please find below their note.
The "Could not find the path 'bin\testrunner.bat'" error (if the "testRunnerPath" property is not specified) or "Could not find a part of the path '<testrunner.bat path>'" (if the "testRunnerPath" property is specified) occurs when ReadyAPI installation is not found on the machine where you run your build. By default, when you add a new pipeline, it's configured to run on a cloud agent, where ReadyAPI is evidently missing. So, you need to reconfigure the build to run on your own hosted agent. This video shows how to correct the config: https://1drv.ms/u/s!
AtuBNgWQsBvDgYthpehM8HshL56iIw . Thanks for your help