I was trying to interact jmeter and influx db but getting as ERROR o.a.j.v.b.i.HttpMetricsSender: Error writing metrics to influxDB Url: http://localhost:8086/api/v2/write?org=ITM&bucket=JMter, responseCode: 401, responseBody: {"error":"unable to parse authentication credentials"}

Could anyone please help me. enter image description here enter image description here

1 Answer 1


You seem to be using InfluxDB 2.0 and it has different authorization system comparing to InfluxDB 1.x.

You need to provide influxdbToken parameter along with other Backend Listener settings:

enter image description here

Otherwise downgrade to InfluxDB 1.x and follow instructions from JMeter + Grafana: How to Use Grafana to Monitor JMeter article

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.