For testingRTC and upRTC, you may want to invoke a webhook only in certain conditions, such as a failed test, error or a warning status.
Filter webhooks using ‘Run options’
For this purpose, you can use the run
options
#webhook-filter feature to add a webhook filter that will instruct the webhook to
only be fired on certain test result
status.
#webhook-filter:error,warning
![](https://assets.documentation.cyara.com/TestRTC/img/testingRTC-Webhook-filter-Run-Options-1024x369.png)
Note: In the example above, the run option instructs that the webhook
will only be invoked if the test run ends with a status of error or warning.