I have JMeter 5.5
running on Mac 12.6 (21G115)
with WebDriver Sampler for doing client side performance testing. It works without any issue with javascript
.
I want to move to Groovy quickly and got following error when test was executed. It looks like a PATH issue.
2023-01-04 23:14:08,307 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[Thread Group 1-1,6,main]
java.lang.NoClassDefFoundError: org/openqa/selenium/manager/SeleniumManager
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:141) ~[selenium-remote-driver-4.7.2.jar:?]
at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:41) ~[selenium-chrome-driver-4.7.2.jar:?]
at
Following Selenium jars are available in JMETER_HOME/lib/ext
folder
CodePudding user response:
The above code should work just fine assuming you've installed WebDriver Sampler using JMeter Plugins Manager
Also "lib/ext" folder is for JMeter Plugins, dependency libraries should go "lib" folder, see JMeter Classpath section for more details.