1
votes

i have working with Jmeter 2.13 and try a new listener Backend listener, I'm using windows.

I have installed grafana/graphite in windows and run it from the web page http:/localhost:8080 and run smoothly. Grafana shows standard dashboard "shared dashboards" and 'dashboards'.

In jmeter a listener Backend listers was added and configured as default as in picture

enter image description here

In grafana i add a new data source:

  • Name=jmeter
  • Type=Graphite
  • url= http://localhost:2003
  • access:proxy/direct ( i tested both)
  • Basic auth: (no)

When i run test in jmeter with Backend listener nothing is shown in grafana. What did i miss, that jmeter results are not displaing http://jmeter.apache.org/images/screenshots/grafana_dashboard.png

Thank you for help, Dani

1

1 Answers

-1
votes

Assuming that you are using InfluxDB as your backend time series database, use the below configuration in Grafana's config.js file.

  datasources: {
    influxdb: {
      type: 'influxdb',
      url: "http://localhost:8086/db/jmeter",
      username: 'root',
      password: 'root',
    },
    grafana: {
      type: 'influxdb',
      url: "http://localhost:8086/db/grafana",
      username: 'root',
      password: 'root',
      grafanaDB: true
    },
  },

Also make sure that your InfluxDB server is up and running by checking "http://localhost:8086". It should show you the login page to connect to the influxdb's web console.

Lastly, enable "DEBUG" logging in JMeter in the jmeter.properties file(log_level.jmeter=DEBUG) and share more info about the errors you see in the log if the issue still persists.