You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Felix Schumacher <fe...@internetallee.de> on 2026/03/31 15:32:56 UTC
Blockers for next release?
Hi all,
we get more and more questions about the security problems in our last
release, that is now quite old.
Vladimir and others have invested a lot of work, to get JMeter running
on Java 17 and above and we have deprecated/removed a few things, added
others.
Are there any blockers, that would hinder us from releasing a 6.0 version?
For my simple use cases (I am really not that of a power user myself and
certainly don't use any third party plugins), the current nightlies work
and from the few people, that I told to use nightlies, I got no further
problems reported and their problems with using 5.6.3 were solved.
What I see are a few minor nags, that should be fixable without too much
of a hassle:
* The changelog is not filled with all changes (I have asked an llm to
fill it and will file a PR later)
* I would like to switch off oro by default (PR 6661), any reason not
to do so? (There is one question hidden in the PR :) )
* PR 6610 seems to be a no-brainer, but haven't looked too closely
* We distribute rhino in version 1.8, but as we don't include
rhino-engine, we can't select js in JSR223 elements. I think, we should
add that missing jar (or even add nashorn, now that we have Java 17 as
minimum)
Do you think any of the other PRs/issues are blockers for a 6.0 release?
The discussion with virtual threads and Java 21 should be (in my
opinion) deferred to the next version after 6.0.
Regards
Felix
Re: Blockers for next release?
Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Hi Felix, Vladimir, and all,
I agree that we should proceed with the release of version 6.0, given the
significant amount of work that has been completed.
Looking ahead, I believe we should migrate to virtual threads and memory
usage.
Regarding memory consumption, many other tools, such as k6 and Gatling, do
not store full query responses in memory by default.
For instance, k6 offers a "discard response bodies" option to optimize
performance.
https://grafana.com/docs/k6/latest/using-k6/k6-options/reference/#discard-response-bodies
While we should likely continue capturing everything by default to maintain
backward compatibility, we should provide users with the setting to change
this behavior.
Implementing a more selective approach to what is saved in memory (e.g.,
only storing what is captured by an extractor) would significantly reduce
JMeter's memory footprint.
Antonio Gomes Rodrigues
Le mar. 31 mars 2026 à 19:08, Felix Schumacher <
felix.schumacher@internetallee.de> a écrit :
>
> Am 31.03.26 um 18:57 schrieb Vladimir Sitnikov:
>
> Are there any blockers, that would hinder us from releasing a 6.0 version?
>
> Frankly, I have been working on 6389 since November, and currently I
> implement generic "explicitly unset" vs "set to empty" for text-like and
> combobox controls.
> I don't remember why it was required, however, it looks like it is required
> so "http defaults" do not override the values in http sampler unless the
> user explicitly asked for it.
> It might be fine to postpone the 6389 and "explicitly unset" to a
> subsequent release.
>
> Well, users will expect a .0 version to contain bugs, right?
>
> No, do you have an estimate how much work is still needed? Can anyone help
> you out with some tasks?
>
>
> * I would like to switch off oro by default (PR 6661), any reason not to
>
> do so? (There is one question hidden in the PR :) )
>
> What do you mean by "switch off by default"?
> I would like to avoid introducing breaking changes as much as possible.
> Ideally, the script designed for old versions should be workable with newer
> versions just fine.
>
> In 5.6 (i don't remember the exact version), we introduced a switch to use
> Java regex instead of oro, with the default being oro.
> Now with 6.0 I think it is a good time to reverse that and use Java regex
> as the default while the user can still enable oro back, if he likes.
>
> I don't think that the regex implementations differ that much, except that
> Java regex is more feature rich and probably better tested.
>
> With a next major version we could then (if we don't get too many
> complaints) remove oro completely.
>
> The question I have is more about the change in the escapeOroRegex
> function, where I boldly assume, that a user wants to use that function
> even with Java regex enabled, but we want to pave the way for removal of
> oro. So that function uses Java regex quote functionality instead of oro,
> when Java regex is enabled.
>
>
> * PR 6610 seems to be a no-brainer, but haven't looked too closely
>
> * We distribute rhino in version 1.8, but as we don't include
>
> rhino-engine, we can't select js in JSR223 elements. I think, we should add
> that missing jar (or even add nashorn, now that we have Java 17 as minimum)
>
> Unfortunately, the syntax between rhino and nashorn differs, so we can't
> replace one with another without breaking the users' scripts.
> If we can't select rhino in JSR223, that sounds like a bug, and we should
> probably add rhino-engine. Nice catch.
>
> Well, we already were on nashorn, way back, when it was in the JDK, so
> going back to rhino is a breaking change for these people :)
>
> But I don't mind either way, as I think groovy is way better suited for
> scripting in JMeter anyway.
>
>
> The discussion with virtual threads and Java 21 should be (in my opinion)
>
> deferred to the next version after 6.0.
>
> Fair, I do not think it should hold the release.
>
> Vladimir
>
>
> Felix
>
>
Re: Blockers for next release?
Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Hi Vladimir and all,
I agree with waiting two weeks to include the infrastructure for PR 6389 in
the 6.0 release.
Additionally, I have been following your work on the pgjdbc documentation.
I believe we should consider a similar restructuring for the JMeter
documentation as well.
Antonio Gomes Rodrigues
Le mer. 20 mai 2026 à 22:25, Vladimir Sitnikov <si...@gmail.com>
a écrit :
> Hi Felix, Antonio, all,
>
> Sorry for the slow response. Here's a quick status update.
>
> PR 6389 / the "explicitly unset" gutter work: I estimate one to two more
> weeks to get the current branch
> (gutter pattern) into reviewable shape.
>
> Past that, extending the new UX to every relevant field can be incremental
> follow-up PRs.
> So we have a choice: wait the two weeks and include the infrastructure in
> 6.0, or cut 6.0 now and land it in a follow-up. Either works for me;
> opinions welcome.
>
> On "can anyone help out": yes. Separately from this thread, Shane Evans
> (BlazeMeter / Perforce) reached out about dedicating engineering resources
> to the project.
> Their concrete pain is merged-but-unreleased dependency/security fixes
> blocking their customers (the Tika PRs #6556 and #6579 were the examples).
> I've put him in touch with Milamber over email. Useful places their
> bandwidth could plug in:
> - reviewer/tester capacity on open 6.0-scoped PRs
> - testing release candidates (vote with results) when 6.0 RC is cut
> - regressions reported against nightlies
>
> I'll follow up separately on PR 6661 (oro default), 6610, and the
> rhino-engine question.
>
> Vladimir
>
Re: Blockers for next release?
Posted by Vladimir Sitnikov <si...@gmail.com>.
Quick update: responseProcessingMode landed in
https://github.com/apache/jmeter/pull/6708, built on Joerek van Gaalen's
#6389. I'm happy with how it turned out.
One thing worth flagging for the list: to let old .jmx files pick up the new
setting automatically when they load, I added a small "upgrade on load"
mechanism. JMeter already rewrites old property and class names on load
through NameUpdater, but it can only rename them, not change a stored value.
The new TestElementUpgrader SPI fills that gap: services are discovered via
ServiceLoader and run by SaveService after a plan loads, so a module can
upgrade its own legacy settings to the current form. responseProcessingMode
is its first user.
It's bundled in the PR so you can see it in context, but I'll split it into
its own PR, since it's a general mechanism other migrations could reuse.
Vladimir
Re: Blockers for next release?
Posted by Vladimir Sitnikov <si...@gmail.com>.
Hi all,
Plan: I'll try to land "Store raw responseBody and decompress when needed"
(PR6389)
for 6.0 on its own, and keep the modified-gutter / unset UI work for a
later release.
On the deferral: the gutter plus the "is this set here or inherited"
indicator
only pays off once config inheritance is modelled properly. Config merge
(AbstractTestElement.addProperty / mergeIn) treats an absent property and an
empty value the same way: both inherit. So "explicitly empty, overriding an
inherited value" can't be expressed, and a "differs from default" indicator
can't answer whether a field inherits from HTTP Request Defaults. Fixing
that
means changing merge semantics that have been stable since 2003 and that
third-party plugins rely on. I'd rather design it carefully after 6.0 than
rush
it.
Looks like responseProcessingMode doesn't need that. It's an enum, so its
value is
never an empty string, and "use the default / inherit" is one entry in the
dropdown rather than a blank field. So I'll wire it with a plain combo on
the
sampler and on HTTP Request Defaults:
- a "Default" entry that leaves the property unset (inherit, or fall back to
STORE_COMPRESSED);
- the concrete modes, which store an explicit value and override the
defaults.
I'll keep the schema default STORE_COMPRESSED, so lazy decompression is the
behaviour when nothing is set anywhere, and getResponseProcessingMode()
never
returns null.
Thoughts welcome.
Thanks,
Vladimir
Re: Blockers for next release?
Posted by Vladimir Sitnikov <si...@gmail.com>.
Update: I've pushed a first cut of the UI I have in mind (screenshots in
the PR description).
The idea is to mark every *modified* field with a gutter on the left, so you
can see at a glance which fields you've changed and tell a "modified but
empty" field apart from one that's "unmodified / unset". Today those two
look
the same.
It'd be great if you could give it a try:
https://github.com/apache/jmeter/pull/6697
Heads-up: some tests are still failing, so the wiring may not be fully
hooked
up yet, so please don't use the branch for load tests.
Vladimir
Re: Blockers for next release?
Posted by Felix Schumacher <fe...@internetallee.de>.
I think two weeks to wait is ok. We have waited so long now :)
Felix
Am 20. Mai 2026 22:23:39 MESZ schrieb Vladimir Sitnikov <si...@gmail.com>:
>Hi Felix, Antonio, all,
>
>Sorry for the slow response. Here's a quick status update.
>
>PR 6389 / the "explicitly unset" gutter work: I estimate one to two more
>weeks to get the current branch
>(gutter pattern) into reviewable shape.
>
>Past that, extending the new UX to every relevant field can be incremental
>follow-up PRs.
>So we have a choice: wait the two weeks and include the infrastructure in
>6.0, or cut 6.0 now and land it in a follow-up. Either works for me;
>opinions welcome.
>
>On "can anyone help out": yes. Separately from this thread, Shane Evans
>(BlazeMeter / Perforce) reached out about dedicating engineering resources
>to the project.
>Their concrete pain is merged-but-unreleased dependency/security fixes
>blocking their customers (the Tika PRs #6556 and #6579 were the examples).
>I've put him in touch with Milamber over email. Useful places their
>bandwidth could plug in:
> - reviewer/tester capacity on open 6.0-scoped PRs
> - testing release candidates (vote with results) when 6.0 RC is cut
> - regressions reported against nightlies
>
>I'll follow up separately on PR 6661 (oro default), 6610, and the
>rhino-engine question.
>
>Vladimir
Re: Blockers for next release?
Posted by Vladimir Sitnikov <si...@gmail.com>.
Hi Felix, Antonio, all,
Sorry for the slow response. Here's a quick status update.
PR 6389 / the "explicitly unset" gutter work: I estimate one to two more
weeks to get the current branch
(gutter pattern) into reviewable shape.
Past that, extending the new UX to every relevant field can be incremental
follow-up PRs.
So we have a choice: wait the two weeks and include the infrastructure in
6.0, or cut 6.0 now and land it in a follow-up. Either works for me;
opinions welcome.
On "can anyone help out": yes. Separately from this thread, Shane Evans
(BlazeMeter / Perforce) reached out about dedicating engineering resources
to the project.
Their concrete pain is merged-but-unreleased dependency/security fixes
blocking their customers (the Tika PRs #6556 and #6579 were the examples).
I've put him in touch with Milamber over email. Useful places their
bandwidth could plug in:
- reviewer/tester capacity on open 6.0-scoped PRs
- testing release candidates (vote with results) when 6.0 RC is cut
- regressions reported against nightlies
I'll follow up separately on PR 6661 (oro default), 6610, and the
rhino-engine question.
Vladimir
Re: Blockers for next release?
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 31.03.26 um 18:57 schrieb Vladimir Sitnikov:
>> Are there any blockers, that would hinder us from releasing a 6.0 version?
> Frankly, I have been working on 6389 since November, and currently I
> implement generic "explicitly unset" vs "set to empty" for text-like and
> combobox controls.
> I don't remember why it was required, however, it looks like it is required
> so "http defaults" do not override the values in http sampler unless the
> user explicitly asked for it.
> It might be fine to postpone the 6389 and "explicitly unset" to a
> subsequent release.
Well, users will expect a .0 version to contain bugs, right?
No, do you have an estimate how much work is still needed? Can anyone
help you out with some tasks?
>
>> * I would like to switch off oro by default (PR 6661), any reason not to
> do so? (There is one question hidden in the PR :) )
>
> What do you mean by "switch off by default"?
> I would like to avoid introducing breaking changes as much as possible.
> Ideally, the script designed for old versions should be workable with newer
> versions just fine.
In 5.6 (i don't remember the exact version), we introduced a switch to
use Java regex instead of oro, with the default being oro.
Now with 6.0 I think it is a good time to reverse that and use Java
regex as the default while the user can still enable oro back, if he likes.
I don't think that the regex implementations differ that much, except
that Java regex is more feature rich and probably better tested.
With a next major version we could then (if we don't get too many
complaints) remove oro completely.
The question I have is more about the change in the escapeOroRegex
function, where I boldly assume, that a user wants to use that function
even with Java regex enabled, but we want to pave the way for removal of
oro. So that function uses Java regex quote functionality instead of
oro, when Java regex is enabled.
>
>> * PR 6610 seems to be a no-brainer, but haven't looked too closely
>> * We distribute rhino in version 1.8, but as we don't include
> rhino-engine, we can't select js in JSR223 elements. I think, we should add
> that missing jar (or even add nashorn, now that we have Java 17 as minimum)
>
> Unfortunately, the syntax between rhino and nashorn differs, so we can't
> replace one with another without breaking the users' scripts.
> If we can't select rhino in JSR223, that sounds like a bug, and we should
> probably add rhino-engine. Nice catch.
Well, we already were on nashorn, way back, when it was in the JDK, so
going back to rhino is a breaking change for these people :)
But I don't mind either way, as I think groovy is way better suited for
scripting in JMeter anyway.
>
>> The discussion with virtual threads and Java 21 should be (in my opinion)
> deferred to the next version after 6.0.
>
> Fair, I do not think it should hold the release.
>
> Vladimir
Felix
>
Re: Blockers for next release?
Posted by Vladimir Sitnikov <si...@gmail.com>.
>Are there any blockers, that would hinder us from releasing a 6.0 version?
Frankly, I have been working on 6389 since November, and currently I
implement generic "explicitly unset" vs "set to empty" for text-like and
combobox controls.
I don't remember why it was required, however, it looks like it is required
so "http defaults" do not override the values in http sampler unless the
user explicitly asked for it.
It might be fine to postpone the 6389 and "explicitly unset" to a
subsequent release.
>* I would like to switch off oro by default (PR 6661), any reason not to
do so? (There is one question hidden in the PR :) )
What do you mean by "switch off by default"?
I would like to avoid introducing breaking changes as much as possible.
Ideally, the script designed for old versions should be workable with newer
versions just fine.
> * PR 6610 seems to be a no-brainer, but haven't looked too closely
> * We distribute rhino in version 1.8, but as we don't include
rhino-engine, we can't select js in JSR223 elements. I think, we should add
that missing jar (or even add nashorn, now that we have Java 17 as minimum)
Unfortunately, the syntax between rhino and nashorn differs, so we can't
replace one with another without breaking the users' scripts.
If we can't select rhino in JSR223, that sounds like a bug, and we should
probably add rhino-engine. Nice catch.
>The discussion with virtual threads and Java 21 should be (in my opinion)
deferred to the next version after 6.0.
Fair, I do not think it should hold the release.
Vladimir