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"

Thursday, October 31, 2019

No “Stop_time” value defined in Results file of LR | stop_time=0 issue load runner analysis

When you open an analysis file, you may receive the error No Stop time value defined in LR Results file.
To acquire the results, simply follow the steps below.

  • Right-click the lrr file and select Open with Notepad++ or Notepad.
  • In the.lrr file, change the value of stop time.
  • If stop time=0 appears in that list, modify it to stop time=1.
  • If the analysis file lrr does not have a stop time line, add stop time=endtime.
  • The time at the end should be in epoch format.
  • To convert your local time to epoch time, use this converter.
  • Save and close the file.

Here's an example of a lrr file:


Version=12.0.0.0 Product=HP LoadRunner Controller Path=E:xxx.lrs
Subject=Baseline
Result file=D:\easyloadrunner\Results\Perftest.lrr
ResultName=xxx ResultName=xxx ResultName=xxx ResultName=x
Time Zone=21600
Start time=1406841216
Daylight Bias=-60
Stop time=1406877216
Public local=1 (Configuration)
Is mix=1
Is runner file=0
[Running mode] Runner file=
By command, start reason=
By command, stop reason=