Rob*_*ham 6 java selenium selenium-grid
我正在针对Selenium Grid运行并行自动化测试.
有时,测试失败;
Session [c1d99cc1-c689-4053-b68d-51c3682c13c4] was terminated due to CLIENT_STOPPED_SESSION (org.openqa.grid.common.exception.GridException)
[remote server] org.openqa.grid.internal.ActiveTestSessions(ActiveTestSessions.java):105:in `getExistingSession'
Run Code Online (Sandbox Code Playgroud)
Selenium文档说;
CLIENT_STOPPED_SESSION The session was stopped using an ordinary call to stop/quit on the client. Why are you using it again??
Run Code Online (Sandbox Code Playgroud)
但是,我知道客户端没有尝试停止/退出.我使用并行rspec,所以每个线程实际上是它自己的Ruby实例,所以没有问题测试方.
此外,如果我使用http:// {node_ip}:5556/wd/hub/static/resource/hub.html直接查询节点,我可以看到会话仍处于打开状态.如果已发出退出/停止,则此会话将被删除.
似乎只有Selenium Grid Hub中的会话注册表认为此会话已停止.没有证据表明会话在其他地方被停止.
Grid中是否存在已知问题,其中错误的会话已标记为已停止?
小智 -3
请关注博客并尝试该步骤,如果该链接没有帮助,请告诉我们
https://seleniummonk.blogspot.in/p/selenium-grid.html
| 归档时间: |
|
| 查看次数: |
1718 次 |
| 最近记录: |