cancel
Showing results for 
Search instead for 
Did you mean: 

Needed setting to remove multiple runs of Test Suite.

Highlighted
Frequent Visitor

Needed setting to remove multiple runs of Test Suite.

Hello,

 I have executed a test suite on soapui version 'SoapUI 5.2.1'. This test suite contains 29 steps.

When the Test case fails at test step 24, test case execution starts from the first step.

It executes suite for five times like:

Failed test run #1
Failed test run #2
Failed test run #3
Failed test run #4
Failed test run #5

 

After that, it stops the execution of the test suite.

We need to remove multiple runs of Test Suite. This issue arises only for this XML file for the rest of the files in the same folder, execution of that test case stopped when a failure occurs.

I have attached XML file and team city executed result. Please have a look at it.

 

Kindly guide us for resolving this issue and let me know any more information needed from my side.

 

Thanks,

Priyanka

1 REPLY 1
Contributor

Re: Needed setting to remove multiple runs of Test Suite.

You can get the Test script status as mentioned in below post

 

https://community.smartbear.com/t5/SoapUI-Open-Source/Get-Status-of-test-case/td-p/39167

 

and then add your logic to delete the Test Suite result -

testRunner.getTestCase().getTestSuite().getProject().removeTestSuite(genReportTS)