DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Building Enterprise Desktop, Web, Mobile, and Docker Applications From One Shared Platform
  • Delegated Transport, Forked Authorization: Where Chat and AI-Agent Integrations Actually Break
  • When RabbitMQ Accepts a Message but Does Not Route It to a Queue
  • Beyond HTTP Handoffs: Build Durable Agent-to-Agent Services With Temporal Nexus

Trending

  • Data Integration Landscape 2026: Event Streaming, API, and Batch in the Era of Agentic AI
  • The Self-Hosting Math Changed While We Were Still Arguing About Sovereignty
  • How to Keep AI Agents From Going Rogue Using Docker Sandbox
  • PWA on iOS, Part 2: HTTPS, Manifest and Service Worker

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. JMeter Real-Time Monitoring, Integration With Grafana+InfluxDB 2.0 (Flux)

JMeter Real-Time Monitoring, Integration With Grafana+InfluxDB 2.0 (Flux)

A developer discusses the newest additions to JMeter, InfluxDB 2.0 and the Flux language, and he used them with Grafana in an open source testing project.

By 
Michael Derevyanko
·
Jan. 04, 21 · Review
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
11.0K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

We know that JMeter is one of the most popular and best tools to load and test functional behavior and measure performance. I love JMeter so much and a lot of real projects have been created using this tool. JMeter gives capabilities, like: building different load patterns through plugins, offline HTML reporting, scaling (master and slave nodes), access to a big community, and custom plugins. But we have no real-time monitoring out-of-the-box. This is not a problem; we can build a solution using an integration with Grafana + InfluxDB. This solution provides great capabilities and saves time.

Why do we need real-time monitoring?

  • It helps to react immediately.
  • Illustrates the system health under test.
  • Measure performance and metrics.
  • Improves error analysis and reduces the time to perform a root cause investigation.

The Architecture

The solution is very simple:

  1. JMeter sends the metrics to the time series database through a custom plugin.
  2. Grafana reads the stored data.
  3. All-important metrics are available in the browser.

We now have an InfluxDB v2.0 release with a new language, Flux (previously InfluxDB 1.8 or less was commonly used). The new release brings a lot of opportunities from a technology stack perspective and security point of view. The newest hardware and infrastructure monitoring system uses the latest release.

So, I decided to support the JMeter plugin and to use the latest JMeter technologies, InfluxDB v2.0 and Flux, in my open source testing project. I am happy to share that the new JMeter plugin and Dashboard have been released:

  1. Plugin ("org.md.jmeter.influxdb2.visualizer.JMeterInfluxDBBackendListenerClient")
  2. Grafana Dashboard 

The plugin supports the InfluxDB v2.0. The dashboard was built using the Flux language, which generates amazing charts:

Monitor Throughput With Active Users

Monitor throughput with active users

Overview and Analysis of the Response Time

With distribution as well.

Aggregate Report

Investigate Errors

The table is interactive, so it's possible to filter data in the columns and see details for the specific error.


See Network Statistics, Latency, Processing Time 

Check Individual Request Details


You can significantly improve your performance testing process. Happy testing, enjoy!

Best Regards, 

Michael Derevyanko

Flux (machine-learning framework) Integration

Opinions expressed by DZone contributors are their own.

Related

  • Building Enterprise Desktop, Web, Mobile, and Docker Applications From One Shared Platform
  • Delegated Transport, Forked Authorization: Where Chat and AI-Agent Integrations Actually Break
  • When RabbitMQ Accepts a Message but Does Not Route It to a Queue
  • Beyond HTTP Handoffs: Build Durable Agent-to-Agent Services With Temporal Nexus

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook