Home

Awesome

Dynatrace Backend listener plugin for JMeter

This library implements a JMeter Backend listener and sends the recorded loadtest metrics via the Dynatrace MINT metric ingest to the configured Dynatrace monitoring environment.

See https://jmeter.apache.org/usermanual/component_reference.html#Backend_Listener for a description of the JMeter BackendListener concept.

Building

Execute the gradle build task. This will generate a "jmeter-dynatrace-plugin-VERSION" in the build/libs directory

Prerequisites

JMeter 5.3 (https://jmeter.apache.org/download_jmeter.cgi)

Dynatrace Version > 1.202

Installation

Copy this generated jar to the apache-jmeter-5.3\lib\ext folder and (re-)start JMeter

Maven repository

The plugin is now also available in maven central

See https://search.maven.org/artifact/com.dynatrace.jmeter.plugins/jmeter-dynatrace-plugin/1.8.0/jar

Configuration

Dynatrace

JMeter

Debug logging

If you want to enable debug logs for this plugin, please add the line <Logger name="com.dynatrace.jmeter.plugins" level="debug" /> to the log4j2.xml file in the JMeter bin folder.

MINT metrics

When the JMeter test is running, it will generate the specified general metrics:

Dimensions used for those metrics:

In addition it will generate the specified metrics for each test step (JMeter sampler)

Dimensions used for those metrics:

Monitoring the metrics in Dynatrace