12.04 - Assert

'result.soapui' is 'success'

What: This assertion verifies if a soapUI execution succeed. If the assertion is verified the test continue else the test failed

ASSERT {soapuiResult<Res:result.soapui>} IS success

VERIFY {soapuiResult<Res:result.soapui>} IS success
Note: For differences between ASSERT and VERIFY assertion mode see this page this page

Input:
  • soapuiResult<Res:result.soapui>: The name of the resource which contains the result of a soapUI execution command (Resource of category result.soapui)


Example:

LOAD path/to/soapui_script.xml AS soapui_script.file
CONVERT soapui_script.file TO script.soapui (structured) AS soapui_script.soapui

EXECUTE execute WITH soapui_script.soapui USING $(soapui.test.suites=suite1,suite2;soapui.test.cases=tc1,tc2) AS soapuiResult
ASSERT soapuiResult IS success