0
votes

Anyone know why my JMeter "jc@gc-WebDriver Sampler" don't have the javascript for default Script Language? I am using JMeter-5.4.1 and the available languages is beanshell, java, groovy, jexl2 & jexl. Please kindly provide the solution. Thanks.

enter image description here

1

1 Answers

0
votes

The Nashorn engine which provided JavaScript execution capabilities has been removed from Java so the options are in:

  1. Downgrade to the Java version where the feature is there (the lowest Java version which can run JMeter is Java 8)
  2. Use GraalVM which has this JavaScript engine
  3. Consider using a different language for scripting, since JMeter 3.1 you should be using Groovy as it provides maximum performance comparing to other options.