Monday, January 20, 2020

Warning: Nashorn engine is planned to be removed from a future JDK release An error occurred

========================================================================
Don't use GUI mode for load testing, only for Test creation and Test debugging !

For load testing, use NON GUI Mode:
jmeter -n -t [jmx file] -l [results file] -e -o [Path to output folder]
& adapt Java Heap to your test requirements:
Modify HEAP="-Xms512m -Xmx512m" in the JMeter batch file

========================================================================
Warning: Nashorn engine is planned to be removed from a future JDK release
An error occurred: TOOLS
errorlevel=1
Press any key to continue . . .


Solution: To silence these warnings, add -Dnashorn.args=--no-deprecation-warning to your Java arguments. That can be achieved by setting the enviroment variable JVM_ARGS.

export JVM_ARGS="-Dnashorn.args=--no-deprecation-warning"

No comments: