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

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
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors