Discussion:
[selenium-users] How to configure/register selenium node in selenium grid in Jenkins
Sohan Ranga
2017-05-03 17:22:53 UTC
Permalink
How to configure/register selenium node in selenium grid in Jenkins



Hello,



I'm trying to get selenium tests running on a remote node from Jenkins
however could not find where to define the remote machine node details in
Selenium Grid running on Jenkins. Any help in this is much appreciated.



The setup that I have is:

1. Selenium Grid configured on Jenkins Server using Jenkins
Selenium Grid Plugin.

2. Able to configure Jenkins machine/server as node. (This is
showing up on Grid Console). Selenium test are getting executed fine on
local node (where the Jenkins is running i.e. local host).



*Question:* Now, I would like to register/configure a remote machine as
node to selenium grid in Jenkins so that selenium tests can be routed to
that node. I could not find any way to add the details of remote machine
while adding new configuration/ new node. Is there any setting that needs
to be done in Jenkins or any additional plugin needs to installed?



Please help me here.





Regards

Sohan
--
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/CAJEzkfjqjXTwVQWBppvP%3D9XxNoFJts4OJQQE02X5xKwsWPbwog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
darrell grainger
2017-05-04 12:11:04 UTC
Permalink
To set up a grid you run the Selenium jar file on one machine as a hub
(e.g. Jenkins server) and on the machine with the browser (Jenkins agent)
you run the Selenium jar file as a node, registering the node with the hub.

So if the Jenkins plugin launches the hub at jenkins.company.com on port
4444 then you can see its console at
http://http://jenkins.company.com:4444/grid/console. On a build agent you
want to launch and register the node using:

java -jar selenium-server-standalone-2.53.1.jar -role node -hub
http://jenkins.company.com:4444/grid/register/


There might be other parameters you use to set up the node. You can run the
jar file from the command line to see all the parameters using:

java -jar selenium-server-standalone-2.53.1.jar -help -role node
Post by Sohan Ranga
How to configure/register selenium node in selenium grid in Jenkins
Hello,
I'm trying to get selenium tests running on a remote node from Jenkins
however could not find where to define the remote machine node details in
Selenium Grid running on Jenkins. Any help in this is much appreciated.
1. Selenium Grid configured on Jenkins Server using Jenkins
Selenium Grid Plugin.
2. Able to configure Jenkins machine/server as node. (This is
showing up on Grid Console). Selenium test are getting executed fine on
local node (where the Jenkins is running i.e. local host).
*Question:* Now, I would like to register/configure a remote machine as
node to selenium grid in Jenkins so that selenium tests can be routed to
that node. I could not find any way to add the details of remote machine
while adding new configuration/ new node. Is there any setting that needs
to be done in Jenkins or any additional plugin needs to installed?
Please help me here.
Regards
Sohan
--
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/95fb087c-bbc8-4df3-89b7-fd66b9dde388%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...