Alerts
Last updated
Last updated
Alerts enable you to notify your team (or anyone else you want) when test runs pass, fail, or complete with any status. You can send messages to various places like Slack, Microsoft Teams, OpsGenie, or even webhooks.
Testery uses the SpEL expression language syntax for defining criteria in alerts. For example, you can use environment.key=='foo'
to match a specific environment or passCount < 100
or failCount > 100
The following objects/parameters are available for use in expressions:
Parameter | Data Type | Nullable |
---|---|---|
Parameter | Data Type | Nullable |
---|---|---|
name
String
key
String
archived
Boolean
pipelineStageId
Long
url
String
environment
projectId
Long
ended
Boolean
priority
Int
passCount
Int
failCount
Int
ignoredCount
Int
totalCount
Int
timeoutCount
Int
totalTestingTime
Int
maxRunners
Int
hasFlakyTest
Boolean
retryFailedTests
Boolean
gitRef
String
branch
String
environmentId
Long
testSuiteId
Long
statusSetByUser
Boolean
includeTags
List<String>
excludedTags
List<String>
runnerConfigurationId
Long
testFilters
List<String>
defaultToParallelizeByFile
Boolean
testTimeoutSeconds
Int
timeoutMinutes
Int
recordVideo
Boolean