Skip to main content

JMeter

Standard Edition RequiredFull Image Variant Required

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

apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: jmeter-check
spec:
interval: 30
jmeter:
- name: jmeter check
url: 192.168.1.5
jmx:
valueFrom:
configMapKeyRef:
name: jmeter-config
key: sample-test.jmx
port: 1099
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