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.
0
votes
1 Answers
0
votes
The Nashorn engine which provided JavaScript execution capabilities has been removed from Java so the options are in:
- Downgrade to the Java version where the feature is there (the lowest Java version which can run JMeter is Java 8)
- Use GraalVM which has this JavaScript engine
- 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.