testing handlers

What type of handler is it? If it’s a ‘pipe’ handler (an executable) then it’s easy to test by feeding the handler an event JSON via STDIN.

An example event json is here: http://docs.sensuapp.org/0.9/events.html


On Tue, May 28, 2013 at 6:15 AM, rhanna@informatiq.org wrote:


I have a written a simple handler that does a post to a http api

I am getting exception in the server log when using it

I need to be able to test it without waiting for checks to trigger the handler

any help?