开发者

Does SOAPUI have the concept of an unexpected message

I have a test where I am sending a messa开发者_StackOverflow中文版ge 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜