A small application to poll a remote endpoint for response code or text.
signalman --timeout 60 --endpoint google.com --port 80 --r-type code --r-value 200
will run a test for 60 minutes until google.com returns a HTTP 200 on port 80
Syntax | Description |
---|---|
--timeout | Timeout for Signalman in minutes |
--endpoint | URL to test against |
--port (optional) | Port to test against |
--r-type | Return type you are expecting, choose from text, json or code |
--r-value | Return value of type selected as --r-type, if using json then use the format key:value, currently only a single key pair is supported |
--ssl (optional) | Use SSL/TLS |
--headers (optional) | Any headers which need to be included - for example to request Content-Type: application/json use Content-Type:application/json |
--debug (optional) | Print request and response headers and response body |