Forum Discussion

KevinRead's avatar
KevinRead
New Contributor
5 years ago
Solved

SoapUI Pro for Azure DevOps - Tests passing, task failing.

I've got the SoapUI Pro for Azure DevOps task running in a pipeline successfully.   From the logs I can see that all the tests are passing, but the task fails with the following error: Cannot v...
  • KevinRead's avatar
    KevinRead
    5 years ago

    An update.

     

    After setting the system.debug variable to true in my release definition, I was able trace through the error stack and into the SoapUIProFunctionalTestingTask.ps1 script.  

     

    I deduced that the Common.TestResultsDirectory variable had not been set.  No where in the documentation does it mention this needs to be done.

     

    So after adding the Common.TestResultsDirectory variable to the release, results were published to it and the task is now passing.

     

  • KevinRead's avatar
    KevinRead
    5 years ago

    Pravek,

     

    Give up on using it in a Release pipeline.  Switch to a Build pipeline and the Common.TestResultsDirectory variable will be set for you.