Hello,
You can use a script assertion as stated above, or you can change the XPath Expression to do the logic instead of the expected result, for example:
XPath Expression
declare namespace sam='http://www.soapui.org/sample/';
//sam:loginResponse[1]/sessionid[1]/text()="5549610890627010" or
//sam:loginResponse[1]/sessionid[1]/text()="5549610890627013"
Expected Result
true
The above example asserts that the session id is either 5549610890627010 or 5549610890627013, you can apply the same principle to asserting "true" or "false".
Regards,
Dain
eviware.com