cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
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
Highlighted

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


Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors