我正在使用selenium网格,我为网格分配了3台机器。我的集线器配置如下:
{
"capabilities":
[
{
"browserName": "firefox",
"maxInstances": 10,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "internet explorer",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"configuration":
{
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 10,
"port": 5555,
"host": "012.xxx.net",
"register": true,
"registerCycle": 5000,
"hubPort": 4444,
"hubHost": "012.xxx.net"
}
}
我的nodeconfig是这样的:
{{1}}
我在其他两台机器上做了类似的节点配置。根据设置,我应该激活30个节点。我尝试并行运行90个测试套件并且机器完全正常(所有30个节点/浏览器都被使用),但是当我将测试套件的数量增加到200或更多时,机器仅使用4-5个节点/浏览器实例。这里有什么我想念的吗?任何帮助都非常感谢。
谢谢,