错误o.a.j.t.JMeterThread:调用threadStarted org.openqa.selenium时出错,SessionNotCreatedException:无法启动新会话

o2gm4chl  于 12个月前  发布在  其他
关注(0)|答案(1)|浏览(164)

今天谷歌Chrome版本已经升级,版本是117.0.5938.11(官方构建)测试版(64位)。所以下载了Chrome驱动测试版:117.0.5938.11 (r1181205)和当我点击运行按钮在Jmeter,Chrome浏览器不调用和1分钟后获得作为浏览器未配置。
我查了一下日志

ERROR o.a.j.t.JMeterThread: Error calling threadStarted
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: Chrome failed to start: crashed.
  (timeout: Timed out receiving message from renderer: 60.000)
  (The process started from chrome location C:\Program Files\Google\Chrome\Application\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.) 
ERROR o.a.j.t.JMeterThread: Error while processing sampler:
shyt4zoc

shyt4zoc1#

1.尝试从command prompt或通过桌面快捷方式启动没有JMeter或Selenium的Chrome。我很确定它会失败或崩溃。然后根据崩溃的原因采取必要的步骤来修复它。
1.避免使用Beta版本,因为它们可能不稳定(只要这是你想要测试的)
1.如果您认为JMeter是问题所在-increase JMeter logging level进行调试并检查jmeter.log文件中是否有任何可疑条目。

相关问题