There might be yet another option.
It might be that Nashorn would be moved to a community-managed library
(e.g. like JavaFx became OpenJFX).
>Is Nashorn or its replacment needed for *all* test plans?
Some of the plans depend on Nashorn, and some of them do not.
Vladimir
If users don't follow best practices, then yes (If Controller and While
Controller use Javascript so nashorn).
But if we switch to rhino as default JS engine, it should work in 99% of
cases.
If it's overkill, maybe it's not worth investing in this.
Noting that IMO, JS is bad for JMeter
Is Nashorn or its replacment needed for *all* test plans?
If not, then another alternative is to document how to download it,
and report a suitable error if a test plan needs it.
On Mon, 23 Mar 2020 at 17:57, Felix Schumacher
wrote:
>
> The third option would be to go back to rhino, which is
The third option would be to go back to rhino, which is included in jmeter
anyhow.
Wouldn't it?
Felix
Am 23. März 2020 16:59:43 MEZ schrieb Vladimir Sitnikov
:
>up.
>
>Graal.JS seems to be mature now.
>It can run on any Java machine:
Hello,
thanks for analysis.
My answer inline below.
Regards
On Mon, Mar 23, 2020 at 4:59 PM Vladimir Sitnikov <
sitnikov.vladi...@gmail.com> wrote:
> up.
>
> Graal.JS seems to be mature now.
> It can run on any Java machine:
>
>
up.
Graal.JS seems to be mature now.
It can run on any Java machine:
https://github.com/graalvm/graaljs/blob/master/docs/user/RunOnJDK.md#run-graalvm-javascript-on-a-stock-jdk
The licenses there are MIT and/or UPL (both are permissible for Apache)
The sad thing is that Graal.JS is ~20 megabytes
Hello,
Thanks, I had looked at this one but:
- I don't think it's compatible with Apache license
- This mode is still experimental
- I must say I'm afraid of another future abrupt termination (as with
Nashorn)
Did you try embedding it in JMeter ?
Helpful refs:
Option 4, also deprecate and remove support for JS and provide a guide on
how to migrate to Groovy?
Graham
On Wed, 24 Jul 2019, 07:11 Jmeter Tea, wrote:
> Hello,
> There's GraalVM JavaScript with optional "Nashorn compatibility mode"
>
>