Forum Discussion
SiKing
13 years agoCommunity Hero
You understand that none of this is a SoapUI problem, it's your understanding of Java that's a problem, right?
If the condition fails, you will get the optional statement back.
To capture the exception for any statement:
I do not work with Excel, as I believe that is the wrong tool for any task outside of accounting.
assert <condition> : <optional statement>
If the condition fails, you will get the optional statement back.
To capture the exception for any statement:
try {
<something>
} catch(ex Exception) {
ex.message // contains the reason for the failure
}I do not work with Excel, as I believe that is the wrong tool for any task outside of accounting.