I am using JMeter 5.3 and installed plugin manager 1.6. Using plugin manager, I have installed selenium WebDriver.
Then downloaded latest chrome driver for Chrome 87 and gave .exe path in chrome driver config.
When I run this Chrome opens and then closes without opening URL and an error is thrown with Response code:500.
When I tried with latest Firefox driver, same error is thrown.
Not sure what is the issue. Thanks.
Just don't use beanshell
as the language, choose groovy
from the "Script Language" drop-down and your code should start working:
Since JMeter 3.1 users are recommended to use Groovy as the scripting language because:
More information: Apache Groovy - Why and How You Should Use It