JMeter
The JMeter check runs the JMeter CLI with a JMX test plan.
jmeter-check.yamlapiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: jmeter-check
spec:
schedule: "@every 30s"
jmeter:
- name: jmeter check
host: 192.168.1.5
port: 1099
jmx:
valueFrom:
configMapKeyRef:
name: jmeter-config
key: sample
| Field | Description | Scheme | Required |
|---|---|---|---|
jmx | ConfigMap or Secret reference that contains the JMX test plan | EnvVar | Yes |
properties | Local JMeter properties | []string | |
responseDuration | Maximum total JTL elapsed time. The check fails when the elapsed time exceeds this duration. | Duration | |
systemProperties | Java system properties | []string | |
host | Proxy host passed to the JMeter CLI -H flag. The JMX plan defines the target under test. | string | |
port | Proxy port passed to the JMeter CLI -P flag. | int32 | |
name | Name of the check, must be unique within the canary | string | Yes |
description | Description for the check | string | |
icon | Icon for overwriting default icon on the dashboard | string | |
labels | Labels for check | map[string]string | |
metrics | Metrics to export from | []Metrics |