I use have JMeter tests run by jmeter-maven-plugin.
I’d like to send my test results data to InfluxDB (in order to visualize results in Grafana).
How can I do that? Do I need to set that in my POM file?
Thanks in advance for your answers.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
You don't need to amend anything in pom.xml file, the changes need to be introduced in JMeter Test Plan, to wit:
org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClientas the "Backend Listener Implementation"
influxdbUrl parameter to match your InfluxDB setup
That should be it, given you have InfluxDB up and running and Grafana dashboard created you will see real time metrics as your test goes.
More information: How to Use Grafana to Monitor JMeter Non-GUI Results - Part 2
No need You need some configurations Follow below document it works