Skip to content

Successor Map · Testing

JMeter to k6: load tests as code, if you need that

Nothing happened to JMeter: Apache is still developing it. Teams move to k6 because its tests are JavaScript files that sit in the repository and run in a pipeline, not because the old tool stopped.

Slide: JMeter on the left, an arrow, and k6 on the right.
Status of the old tool
Still active
Effort to move
A real project
gen2.dev's view
Leave it
Sources checked
2026-11-28

Key facts

Gen 1Apache JMeter
Gen 2Grafana k6
Kind of toolTesting
Status of Gen 1Still active The commit list of the apache/jmeter repository shows commits dated Nov 28, 2026, one of them updating the documentation for JMeter 6.0.
Effort to moveA real project: plan it and run both for a while
What breaksEvery test plan has to be rewritten by hand as a script, and k6 covers far fewer protocols out of the box than JMeter does.
Should you move?Leave it JMeter is actively developed by Apache and runs from the command line, so a working set of test plans carries no risk that forces a move. This is gen2.dev's view, not the maintainers'.
Sources checked2026-11-28, 11 sources

Gen 1 and Gen 2 side by side

GitHub Gen 1 Gen 2
Repositoryapache/jmetergrafana/k6
Latest versionrel/v5.6.3v2.4.0
Latest releaseJan 9, 2024Nov 12, 2026
Repository createdMay 26, 2010Mar 21, 2016
LicenseApache-2.0AGPL-3.0
GitHub stars9,61732,436
Last code pushNov 29, 2026Nov 29, 2026
ArchivedNoNo

Read from GitHub on November 29, 2026. Stars measure attention, not use. A dash means the figure does not apply to that kind of listing.

What Gen 1 was

Apache JMeter is, in its own words, "open source software, a 100% pure Java application" built to load test and measure performance. Its home page is careful about one thing: "JMeter is not a browser, it works at protocol level."

A test plan is built in JMeter's desktop application and saved as a .jmx file. The manual says the GUI "should only be used for creating the test script" and that CLI mode "must be used for load testing."

It is not a retired tool. The repository shows commits dated Nov 28, 2026, including documentation updates for JMeter 6.0.

What replaced it

For many teams starting fresh, Grafana k6, "an open-source, developer-friendly, and extensible performance testing tool." Its repository describes it as "A modern load testing tool, using Go and JavaScript," distributed under the AGPL-3.0 license.

The difference is the test itself. The documentation says "k6 tests are written using the JavaScript or TypeScript programming language." A test is a text file that can be reviewed, compared and changed like any other code.

Pass and fail are also in the file. "Thresholds are the pass/fail criteria that you define for your test metrics," and a failed threshold makes k6 exit with a non-zero exit code, which is what a pipeline needs to stop a release.

What moving involves

Rewriting. Each JMeter plan becomes a k6 script, by hand.

Grafana once published a converter from .jmx files to k6 code. Its repository was archived on Jun 8, 2026, and its README says, "This project is no longer maintained."

Do not trust the first numbers. Two load tools rarely model users the same way, so run both against the same system and compare the results before retiring the old plans. That is a parallel run.

What breaks

  • Protocols. JMeter's home page lists web, SOAP and REST, FTP, databases through JDBC, LDAP, JMS, mail and TCP. k6 lists HTTP/1.1, HTTP/2, WebSockets and gRPC, and says "You can use k6 on more protocols with xk6."
  • Recording. JMeter's test IDE records a plan from a browser or native application. A k6 migration starts from a script, not a recording.
  • Skills. People who build plans in a GUI now have to write code.

Should you move?

Leave it. JMeter is developed by Apache and already runs from the command line, so working test plans are not a liability.

Moving is worth it when load tests need to be reviewed in pull requests and to fail a pipeline on their own, and the system under test speaks HTTP or gRPC. Teams that test databases, message queues or mail through JMeter should stay.

Common questions

Is JMeter dead?

No. Its maintainers have not announced an end. The commit list of the apache/jmeter repository shows commits dated Nov 28, 2026, one of them updating the documentation for JMeter 6.0.

What replaced JMeter?

Grafana k6. Effort to move: A real project: plan it and run both for a while

Should I move off JMeter?

gen2.dev's view: Leave it. JMeter is actively developed by Apache and runs from the command line, so a working set of test plans carries no risk that forces a move.

Sources

  1. Apache JMeter home page - jmeter.apache.org - What JMeter is, that it works at protocol level, its test IDE and CLI mode, and the list of protocols it can test.
  2. Commits - apache/jmeter - GitHub - Shows commits dated Nov 28, 2026, including one updating documentation references for JMeter 6.0.
  3. apache/jmeter README - GitHub - The repository description, and that the development version requires a Java 17 runtime. No archive notice when read on November 28, 2026.
  4. Changes - Apache JMeter - Headed Version 5.6.3; says JMeter 5.6.x requires Java 8 or later, with Java 17 or later recommended.
  5. Getting Started - Apache JMeter User's Manual - That GUI mode is for creating the test script and CLI mode must be used for load testing, with the command to run a .jmx file.
  6. Grafana k6 documentation - Grafana Labs - Describes k6 as an open-source, developer-friendly and extensible performance testing tool, and lists its use cases.
  7. Write your first test - Grafana k6 documentation - That k6 tests are written in JavaScript or TypeScript and the default exported function is the entry point.
  8. Protocols - Grafana k6 documentation - The protocols supported out of the box (HTTP/1.1, HTTP/2, WebSockets, gRPC) and that xk6 adds others.
  9. Thresholds - Grafana k6 documentation - Thresholds as pass/fail criteria, and that a failed threshold makes k6 exit with a non-zero exit code.
  10. grafana/k6 README - GitHub - The repository description and the AGPL-3.0 license.
  11. grafana/jmeter-to-k6 - GitHub - The converter from .jmx files to k6 scripts; archived by its owner on Jun 8, 2026 and marked as no longer maintained.
  12. apache/jmeter - GitHub - latest release, license, stars, last push and archive status, read on November 29, 2026
  13. grafana/k6 - GitHub - latest release, license, stars, last push and archive status, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.