Konstantin V
Konstantin V

Reputation: 164

JMeter + Maven: how to send test result data to Grafana

I use have JMeter tests run by jmeter-maven-plugin.

Previously I used JMeter + InfluxDB + Grafana, but what should I do now in the case when I run my JMeter test by jmeter-maven-plugin? How can I send test result data to Grafana?

Thanks in advance for your answers.

Upvotes: 0

Views: 591

Answers (1)

Dmitri T
Dmitri T

Reputation: 168207

You can do it with Backend Listener

  1. Add Backend Listener to your Test Plan
  2. Choose org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClient from the "Backend Listener Implementation" dropdown
  3. Point the Backend Listener to your own InfluxDB installation via influxdbUrl parameter

    JMeter InfluxDB

    Other parameters can be left as they are.

  4. That's it, given InfluxDB is up and running and you have configured the Dashboard (you can use this one as an example) - you should be seeing the metrics in Grafana as your test goes.

References:

Upvotes: 0

Related Questions