向 Selenium Grid RC 分发请求?
我遇到的情况是,我有一个中央 selenium 网格集线器,并且在我的 gogrid 帐户上运行着几个 RC。当我访问它来运行测试时,它基本上会对所有传入的测试请求进行排队,并仅在一个 RC 上串行执行它们,而不是将它们分散到使用可用的 RC。这些测试来自多个项目,因此我不希望并行化测试本身,只是将来自多个项目的请求拆分到多个 RC 中。从我读到的所有内容来看,selenium grid 似乎应该已经这样做了,但我只看到一个 RC 用于运行每个测试。我有什么遗漏的吗?
I've got a situation here where I have a central selenium grid hub, and several RC's running on my gogrid account. When I access it to run tests, it basically queues all the incoming test requests and executes them serially on only one of the RC's, instead of spreading them out to use available RC's. The tests come from multiple projects, so I'm not looking to parallelize the tests themselves, just to split the requests that come from multiple projects across the multiple RC's. From everything I've read, it seems like selenium grid should be doing this already, yet I only see one RC used to run every single test. Is there something I'm missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否在同一环境中注册了多个 RC?每个工作人员当前只能广播一个环境,并且集线器以循环队列方式将工作分配给工作人员(首先注册的首先获得工作)。
Do you have multiple RCs registered with the same environment? Each worker can currently only broadcast one environment and the hub assigns work to workers in a circular queue fashion (first registered gets work first).
http://selenium-grid.seleniumhq.org/configuring-and-tuning。 html
http://selenium-grid.seleniumhq.org/configuring-and-tuning.html