77647

Question:
I have a test where I am sending a message in SOAPUI, usually this will trigger an message coming back asynchronously to my Mock Service so I have a Mock Response.
Now I have a testcase where receiving any message to my mock service would be considered failure.
Other tools I have used in the past had the concept of unexpected messages wherein receiving a message would fail the test.
Anyone have any ideas on this?
Answer1:Hm..You can add an assertion to Mock Response. There is an assertion inspector at bottom of Mock Response panel. Add script assertion with:
assert false
That should do the trick.