cancel
Showing results for 
Search instead for 
Did you mean: 

request: mock service assert that it does not receive a message

Contributor

request: mock service assert that it does not receive a message

I would like to request the ability to assert that a mock service does NOT receive a message.

A sample use would be a test case that:
- send request to my system-under-test
- start mock service
- assert the the mock service does NOT receive a message (timeout occurs)

--jason
1 REPLY 1

Re: request: mock service assert that it does not receive a message

This is already doable using Groovy.
You will need to add a Groovy step to the testcase that will start the MockService (you can also start the MockService as part of the TestCase start script, if it suits you better), and check if it receives the message.

/Nenad
http://eviware.com


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors