anemuday
2018-11-13 09:59:24 UTC
Meta -
OS:
Windows 7
Selenium Version:
Selenium 3.12
Browser:
Chrome 3.12
Steps to reproduce -
All my project source code is in BitBucket and project is setup in Jenkins.
Goal is to run entire suite on a schedule time daily from Jenkins.
Hub(Linux) is running on the same Jenkins Server and Node(Windows) is
getting connected to the Hub.
But the problem is, Node is disconnected with the Hub after 1-2 days,
because of this, my scheduled jobs in Jenkins are failing most of the time.
How can i make sure the Hub and Node stay connected for longer days(say 30
/ 50 days)?
Following is the command i am using to connect Node with Hub:
java -jar -Dwebdriver.chrome.driver=chromedriver.exe
-Dwebdriver.gecko.driver=geckodriver.exe
selenium-server-standalone-3.12.0.jar -role node -nodeConfig node1.json
and following is nod1.json file content:
{
"capabilities":
[
{
"browserName": "firefox",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "internet explorer",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"port": 17946,
"register": true,
"registerCycle": 5000,
"timeout":432000,
"hub": "http://jenkins.abc.com:4444",
"nodePolling": 5000,
"role": "node"
}
Can someone help me what i am missing? How can i make the Node and Hub
connected?
OS:
Windows 7
Selenium Version:
Selenium 3.12
Browser:
Chrome 3.12
Steps to reproduce -
All my project source code is in BitBucket and project is setup in Jenkins.
Goal is to run entire suite on a schedule time daily from Jenkins.
Hub(Linux) is running on the same Jenkins Server and Node(Windows) is
getting connected to the Hub.
But the problem is, Node is disconnected with the Hub after 1-2 days,
because of this, my scheduled jobs in Jenkins are failing most of the time.
How can i make sure the Hub and Node stay connected for longer days(say 30
/ 50 days)?
Following is the command i am using to connect Node with Hub:
java -jar -Dwebdriver.chrome.driver=chromedriver.exe
-Dwebdriver.gecko.driver=geckodriver.exe
selenium-server-standalone-3.12.0.jar -role node -nodeConfig node1.json
and following is nod1.json file content:
{
"capabilities":
[
{
"browserName": "firefox",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "internet explorer",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"port": 17946,
"register": true,
"registerCycle": 5000,
"timeout":432000,
"hub": "http://jenkins.abc.com:4444",
"nodePolling": 5000,
"role": "node"
}
Can someone help me what i am missing? How can i make the Node and Hub
connected?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e2ffd4ce-b100-4347-99f3-9863570d8c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e2ffd4ce-b100-4347-99f3-9863570d8c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.