Python 使用selenium网格运行测试

Python 使用selenium网格运行测试,python,selenium,selenium-grid,nose,Python,Selenium,Selenium Grid,Nose,我目前正在尝试使用SeleniumGrid和nosetest运行python UI自动化。我完成了中心和两个节点的设置。我尝试通过以下命令运行测试: nosetests-2.7 --tests=ui_tests/sample_tests.py --tc-file=conf/config.ini --nologcapture -v --with-holmium --holmium-browser=chrome --holmium-remote=http://<my_hub_ip>:44

我目前正在尝试使用SeleniumGrid和nosetest运行python UI自动化。我完成了中心和两个节点的设置。我尝试通过以下命令运行测试:

nosetests-2.7 --tests=ui_tests/sample_tests.py --tc-file=conf/config.ini --nologcapture -v --with-holmium --holmium-browser=chrome --holmium-remote=http://<my_hub_ip>:4444/wd/hub --process-timeout=600 --holmium-browser-per-test --holmium-ignore-ssl-errors --processes=2
nosetests-2.7--tests=ui\u tests/sample\u tests.py--tc file=conf/config.ini--nologcapture-v--with-holmium--holmium-browser=chrome--holmium-remote=http://:4444/wd/hub--process timeout=600--holmium-ignore ssl errors--processs=2
在一些测试用例完成运行后,我在以下节点上收到错误消息:

INFO:I/O exception (org.apache.http.nohttpresponseexception) caught when processing request to <>->http://<my_hub_ip>:4444: The target server failed to respond
INFO:I/O异常(org.apache.http.nohttpresponseexception)在处理对->http://:4444的请求时捕获:目标服务器未能响应
我已经搜索了这个问题,但是没有找到任何有用的方法来解决这个问题。我想知道这是否是因为作为中心的VM不够强大


我使用的是
selenium-server-standalone-2.53.1
nosetests-2.7

,所以我终于解决了问题。只需下载最新版本的selenium server standalone,它就能完美工作。我现在使用的版本是3.0.1。他们修复了此版本中的I/O异常