Skip to main content

JMeter

Full Image Variant Required

This check executes the JMeter CLI to execute the JMX test plan on the specified host.

jmeter-check.yaml
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: jmeter-check
spec:
schedule: '@every 30s'
jmeter:
- name: jmeter check
url: 192.168.1.5
port: 1099
jmx:
valueFrom:
configMapKeyRef:
name: jmeter-config
key: sample
FieldDescriptionSchemeRequired
jmxJmx defines the ConfigMap or Secret reference to get the JMX test planEnvVarYes
propertiesProperties defines the local JMeter properties[]string
responseDurationduration under which the all the test should passint
systemPropertiesSystemProperties defines the Java system property[]string
hostHost is the server against which test plan needs to be executedstring
portPort on which the server is runningint32
nameName of the check, must be unique within the canarystringYes
descriptionDescription for the checkstring
iconIcon for overwriting default icon on the dashboardstring
labelsLabels for checkmap[string]string
testEvaluate whether a check is healthyExpression
displayExpression to change the formatting of the displayExpression
transformTransform data from a check into multiple individual checksExpression
metricsMetrics to export from[]Metrics