Forum Discussion

Yariv_Amar's avatar
Yariv_Amar
Contributor
13 years ago

Content Message Assertion - better error message?

Hi

I'm using the great new feature "Message Content Assertion" - thanks for developing it. its makes assertions very easy !

the problem i have is that the error message in the logs or junit report is very shallow. for example:
----------------- Messages ------------------------------
[Message Content Assertion] Message Content Assertion failed : failed/compared = 1/16

When getting such an error in automation it's very hard to understand what's the failure. I've tried to increase SoapUI log lever, but w/o any success to get better explanation.

is it possible to get better message for this kind of error in the logs (like the one we get in the GUI)?
For example i'd expect to see in the logs / Junit report:
----------------- Messages ------------------------------
[Message Content Assertion] Message Content Assertion failed : failed/compared = 1/16
SHUTDOWN_APPROVAL_TIME [2012-1-10.12.7. 20. 0] did not meet condition related to [2012-01-10 10:07:00]

Thank you.