It seems that executable files such as Webdriver are not yet supported. https://github.com/microsoft/azure-load-testing/issues/58 I'm sorry for other companies, but you can run webdriver using AWS DLT. https://github.com/microsoft/azure-load-testing/issues/58
Use of Selenium WebDriver on Azure Load Testing
Mario Gorga
30
Reputation points
Hello,
I am using Azure Load Testing to make a performance test. The JMeter's script is using the plugin for Selenium WebDriver. When I execute the test it fails because it is not able to find the ChromeDriver.exe. This is the error:
2023-03-28 11:29:55,246 ERROR o.a.j.t.JMeterThread: Error calling threadStarted
java.lang.IllegalStateException: The driver executable must exist: /
at org.openqa.selenium.internal.Require$FileStateChecker.isFile(Require.java:345) ~[selenium-api-4.8.0.jar:?]
at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:161) ~[selenium-remote-driver-4.8.0.jar:?]
at org.openqa.selenium.remote.service.DriverService$Builder.usingDriverExecutable(DriverService.java:369) ~[selenium-remote-driver-4.8.0.jar:?]
at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.getThreadService(ChromeDriverConfig.java:46) ~[jmeter-plugins-webdriver-4.8.0.jar:?]
at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.createBrowser(ChromeDriverConfig.java:26) ~[jmeter-plugins-webdriver-4.8.0.jar:?]
at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.createBrowser(ChromeDriverConfig.java:14) ~[jmeter-plugins-webdriver-4.8.0.jar:?]
at com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig.getPreparedBrowser(WebDriverConfig.java:215) ~[jmeter-plugins-webdriver-4.8.0.jar:?]
at com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig.threadStarted(WebDriverConfig.java:146) ~[jmeter-plugins-webdriver-4.8.0.jar:?]
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:797) ~[ApacheJMeter_core.jar:5.5]
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:993) ~[jorphan.jar:5.5]
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:976) ~[jorphan.jar:5.5]
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:765) ~[ApacheJMeter_core.jar:5.5]
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:753) ~[ApacheJMeter_core.jar:5.5]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:264) ~[ApacheJMeter_core.jar:5.5]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Is it possible to execute a Load Testing using ChromeDriver or GeckoDriver? It is no important if the test is executed on Chrome or Firefox. On Azure Documentation I found only this information: https://learn.microsoft.com/en-us/azure/load-testing/how-to-use-jmeter-plugins
Best regards,
Mario