cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
New Contributor

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 validate argument on parameter 'ArgumentList'.

 

I'm using version 2.* of the task, the the only field configured is the Path to SoapUI Pro project.

 

Extract from the end of the log:

2019-08-07T04:23:29.4304120Z 14:23:26,609 INFO [SoapUIProTestCaseRunner] Project [xx.api] finished with status [PASS] in 33034ms
2019-08-07T04:23:29.4305069Z
2019-08-07T04:23:29.4305219Z 14:23:27,543 INFO [SoapUIProTestCaseRunner] Created report at file:/C:/Program%20Files/SmartBear/ReadyAPI-2.8.0/bin/index.html
2019-08-07T04:23:29.4305376Z 14:23:27,545 INFO [license] ReadyAPI 2.8.0 shutting down
2019-08-07T04:23:29.4305443Z
2019-08-07T04:23:29.8447648Z ##[error]Cannot validate argument on parameter 'ArgumentList'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
2019-08-07T04:23:31.6850957Z ##[section]Finishing: SoapUI Pro for Azure DevOps

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

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

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.

 

3 REPLIES 3
Highlighted
Moderator

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

Thanks for reaching out, @KevinRead.

 

Community, has anyone faced a similar situation? 


Olga Terentieva
SmartBear Assistant Community Manager

New Contributor

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

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.

 

Moderator

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

It's great to hear you have managed to solve this!

And thank you for sharing the solution!


Olga Terentieva
SmartBear Assistant Community Manager

New Here?
Join us and watch the welcome video:
SeptemberNews
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win