Forum Discussion

matthewmatcham's avatar
15 years ago

Do Not Stop If Error Occurs

I have a series of steps in a test case, each with a fair number of assertion checks (about 30 or so). I want to run these cases in TestRunner, and export them to a command line file.

I want all the test steps to run even if assertions fail on previous steps. Choosing the 'Do not stop if error occurs, ignore them' option (-I) doesn't achieve this, the test stops immediately. This is the case when running from the command line as well.

Have I misinterpreted this option?

Output from the console:

Running soapUI TestRunner for [Update Role]
directory: G:\Program Files\eviware\soapUI-3.5.1\bin\.
command: cmd.exe /C testrunner.bat -sIdentityHubSoapBinding TestSuite -cRole Broker TestCase -I -i myproject.xml
soapUI 3.5.1 TestCase Runner
....
....
10:28:07,714 INFO [SoapUITestCaseRunner] Assertion [SOAP Fault] has status VALID
10:28:07,714 INFO [SoapUITestCaseRunner] Assertion [XPath Match] has status FAILED
10:28:07,714 ERROR [SoapUITestCaseRunner] ASSERTION FAILED -> XPathContains comparison failed, expecting [e5b33a20-2757-415c-8226-2c668523bd23], actual was [1869c5cc-c680-4844-8bab-6ee07f97a252]
10:28:07,714 ERROR [SoapUITestCaseRunner] Error Case 1 failed, exporting to myfile.txt
10:28:07,730 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [Role Broker TestCase], time taken: 1826ms, status: FAILED
10:28:07,730 INFO [SoapUITestCaseRunner] TestCase [Role Broker TestCase] finished with status [FAILED] in 1826ms
No RepliesBe the first to reply