我有我开始一个Jmeter测试的情况下,其调用空驱动程序,得到错误无法创建一个会话。错误日志为..错误o.a.j.t. JMeterThread:调用threadStarted nqa. selenium时出错。Session NotCreatedException:未创建会话:此版本的ChromeDriver仅支持Chrome版本114
浏览器版本为116.0.5845.97,二进制路径为C:\Program Files\Google\Chrome\Application\chrome.exe
信息:版本:“3.14.0”,修订版:'aacccce 0',时间:'2018-08-02T20:19:58.91Z'
info:host:'jmeter-node',ip:'10.10.181.140',os.name:'Windows 10 ',os.arch:“amd 64”,操作系统版本:'10.0',java.version:1.8.0_261'
info:driver.version:ChromeDriver
stacktrace:回溯:
GetHandleVerifier [0x0106A813+48355]
(No符号)[0x 00 FFC 4 B1](无符号)[0x 00 F05358]
(No符号)[0x 00 F261 AC]
(No符号)[0x 00 F21 EF 3]
(No符号)[0x 00 F20579]
(No符号)[0x 00 F50 C55]
(No符号)[0x 00 F5093 C]
(No符号)[0x 00 F4 A536]
(No符号)[0x 00 F282 DC]
(No符号)[0x 00 F293 DD]
GetHandleVerifier [0x012CAABD+2539405]
GetHandleVerifier [0x0130A78F+2800735]
GetHandleVerifier [0x0130456C+2775612]
GetHandleVerifier [0x010F51E0+616112]
(No符号)[0x 01005 F8 C]
(No符号)[0x 01002328]
(No符号)[0x 0100240 B]
(No符号)[0x 00 FF 4FF 7]
BaseThreadInitThunk [0x75E900C9+25] Rt1GetAppContainernamedObjectPath [0x76F37B1E+286]
RtlGetAppContainerNamedObjectPath [0x76F37AEE+238]
at sun.reflect.NativeConstructorAccessImpl.newInstance0(Native Method)~[?:1.8.0_261]在sun.reflect. NativeConstructorImpl.newInstance(未知源)~[?:1.8.0_261]
at org.openqa.selenium.remote.W3CHandshakeResponse.judda$new$0(W3CHandshakeResponse.java:57)~[selenium-remote-driver-3.14.0.jar:?]
at sun.reflect. DelegatingConstructorImpl.newInstance(Unknown Source)~[?:1.8.0_261] at java.lang.reflect.Constructor.newInstance(未知源)~[?:1.8.0_261]
1条答案
按热度按时间7tofc5zh1#
你想让我们帮助你理解这一节:
此版本的ChromeDriver仅支持Chrome版本114
这意味着Chrome浏览器和Chromedriver之间不匹配,您需要将Chrome降级到114或升级ChromeDriver to 116
此外,Selenium 3.14.0有点过时,当前最新版本的WebDriver Sampler是4.10.0,它与相关的Selenium版本相匹配,因此考虑升级。可以使用JMeter Plugins Manager完成