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

  • When a Coding Agent Fixes the Test Instead of the Bug
  • Testing Java and Spring Applications With Kotlin: Low-Risk to Adoption
  • Your Visual Regression Suite Is Mostly Testing Anti-Aliasing
  • From Issue to Reviewable Patch: Build a Sandboxed Coding Agent With Deep Agents and Automated Tests

Trending

  • Building a Real Pipeline With senro: Monorepos, Caching, and Triggers
  • Why Your AI Agent Works in the Demo and Fails in Production
  • The Twelve-Factor Agents: Building Production-Ready LLM Applications
  • Vision-Language Models in 2026: From Research Breakthroughs to Cloud-Native Production Systems

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. Testing, Tools, and Frameworks
  4. How We Load Tested the New BlazeMeter JMX Converter

How We Load Tested the New BlazeMeter JMX Converter

Learn how BlazeMeter load tested their new JMX Converter, which lets more people test with JMeter and BlazeMeter.

By 
Artem Fedorov
·
Nov. 16, 18 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
11.9K 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

BlazeMeter Labs released a new version of its JMX Converter at the beginning of October 2018. With the JMX converter, users can convert files from several formats to a JMX file. Then, they can run their tests in Apache JMeter™ and BlazeMeter. This immensely expands the audience that can run load tests and performance tests in these tools.

The JMX Converter supports the following input formats:

  • HAR JSON - from Mozilla Firefox traffic
  • XML from Internet Explorer
  • Selenium Builder input
  • PCAP input
  • JSON from the BlazeMeter Chrome Extension, HAR and Selenium Builder

Just upload your file. Click "Convert", and get your JMX file.

While we were upgrading and creating this product, we used BlazeMeter to test it. We ran both functional tests and performance tests. Here's how:

This step includes manual testing and functional testing. We tested the new UI (our designer Hai Ohayon created a new fantastic and modern design for this project), ran regression tests for different files types, performed integration testing on the BlazeMeter Chrome Extension, etc.

The purpose of performance testing was to find out if our system was stable, and for what number of concurrent users.

1. We created a stress test in JMeter to get an estimation limit of the number of virtual users the Converter can process simultaneously. We used the Concurrency Thread group with the following parameters:

2. We also included Transactions per Second, Composite Timeline Graph and Active Threads Over Time graphs. These graphs let us correlate the system's stability for transactions per second and the number of users.

3. After running the stress test for 5 minutes, we can already analyze our graphs. On the Transactions per Second graph, we can see that after 2:30 we reached the limit of transactions per second (120 concurrent users):

4. On the Composite Graph we see the same picture: after 2:30, the limit of successful transactions is reached and other transactions are failed:

5. Then, we looked at the Active Threads Over Time graph to get the count of parallel users that sent requests at 2:30.

From this graph, we see that this count was ~50-60 users.

6. Now, we can start a long endurance test for 10 hours in BlazeMeter. We started this test with 40 users (slightly less than the limit) and after 8 hours our server died:

7. We tried restarting the test, but after a few minutes, we understood the server wasn't working correctly.

8. What changed after this test: we redesigned the architecture of the web service and also found a logging bug.

9. The next test executions helped detect memory leaks in the new logging: head dumps have a lot of Logger instance after a few hours of endurance testing.

10. The memory leak was caused because standard Java logging stores all loggers with their logs. This information is unnecessary and causes stress on the system.

When we fixed this, the logger count was no more than 300 (after 11.5k):

11. The last endurance test passed successfully. The Converter server had a small errors percentage and after 12 hours of load work with 35 virtual users, it still works and saved all the heap memory.

By running our test through BlazeMeter, we were able to run a 10-hour test without crashing our server, In addition, we were able to store reports and logs for weeks, open them up after three weeks and compare these release stats with future release stats.

Testing

Published at DZone with permission of Artem Fedorov. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • When a Coding Agent Fixes the Test Instead of the Bug
  • Testing Java and Spring Applications With Kotlin: Low-Risk to Adoption
  • Your Visual Regression Suite Is Mostly Testing Anti-Aliasing
  • From Issue to Reviewable Patch: Build a Sandboxed Coding Agent With Deep Agents and Automated Tests

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