When I run JMeter 5.1.1 recently downloaded, I see many times in terminal window
:
Warning: Nashorn engine is planned to be removed from a future JDK release
I've used web search and found JEP 335: Deprecate the Nashorn JavaScript Engine.
Motivation
The Nashorn JavaScript engine was first incorporated into JDK 8 via JEP 174 as a replacement for the Rhino scripting engine. When it was released, it was a complete implementation of the ECMAScript-262 5.1 standard.
With the rapid pace at which ECMAScript language constructs, along with APIs, are adapted and modified, we have found Nashorn challenging to maintain.
I expected to read that new engine is now in more use, but no, I could not find what will run JavaScript
in replacement. What would happen with JavaScript
in JMeter
? It will not run and we use encouraged to use Groovy
?
BTW, how to remove that warning from terminal?