Hi François
I followed steps exactly mentioned in your post. Please see below output that I am getting
java -jar selenium-server-standalone-2.25.0.jar -role hub
Nov 19, 2012 1:51:01 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a selenium grid server
2012-11-19 01:51:03.891:INFO:osjs.Server:jetty-7.x.y-SNAPSHOT
2012-11-19 01:51:03.932:INFO:osjsh.ContextHandler:started o.s.j.s.ServletContextHandler{/,null}
2012-11-19 01:51:03.940:INFO:osjs.AbstractConnector:Started
SocketC...@0.0.0.0:4444******************************************************************************************************
Nov 19, 2012 1:53:02 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a selenium grid node
01:53:03.923 INFO - Java: Apple Inc. 20.10-b01-428
01:53:03.925 INFO - OS: Mac OS X 10.6.8 x86_64
01:53:03.953 INFO - v2.25.0, with Core v2.25.0. Built from revision 17482
01:53:04.186 INFO - RemoteWebDriver instances should connect to:
http://127.0.0.1:5555/wd/hub01:53:04.186 INFO - Version Jetty/5.1.x
01:53:04.187 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
01:53:04.188 INFO - Started HttpContext[/selenium-server,/selenium-server]
01:53:04.188 INFO - Started HttpContext[/,/]
01:53:04.194 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@5ba8773c
01:53:04.194 INFO - Started HttpContext[/wd,/wd]
01:53:04.196 INFO - Started SocketListener on
0.0.0.0:555501:53:04.196 INFO - Started org.openqa.jetty.jetty.Server@163dc0bb
01:53:04.197 INFO - using the json request : {"class":"org.openqa.grid.common.RegistrationRequest","capabilities":[{"platform":"MAC","seleniumProtocol":"Selenium","browserName":"*firefox","maxInstances":5},{"platform":"MAC","seleniumProtocol":"Selenium","browserName":"*googlechrome","maxInstances":5},{"platform":"MAC","seleniumProtocol":"Selenium","browserName":"*iexplore","maxInstances":1},{"platform":"MAC","seleniumProtocol":"WebDriver","browserName":"firefox","maxInstances":5},{"platform":"MAC","seleniumProtocol":"WebDriver","browserName":"chrome","maxInstances":5},{"platform":"WINDOWS","seleniumProtocol":"WebDriver","browserName":"internet explorer","maxInstances":1}],"configuration":{"port":5555,"register":true,"host":"172.18.228.143","proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy","maxSession":5,"hubHost":"localhost","role":"node","registerCycle":5000,"hub":"
http://localhost:4444/grid/register","hubPort":4444,"url":"
http://172.18.228.143:5555","remoteHost":"
http://172.18.228.143:5555"}}
01:53:04.198 INFO - starting auto register thread. Will try to register every 5000 ms.
01:53:04.198 INFO - Registering the node to hub :
http://localhost:4444/grid/register01:53:09.471 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@6f57b46f at URL: /status)
01:53:09.473 INFO - Done: /status
If I visit
http://localhost:4444/grid/api/hub/ it return something like :
{"port":4444,"servlets":[],"host":null,"cleanUpCycle":5000,"browserTimeout":0,"capabilityMatcher":"org.openqa.grid.internal.utils.DefaultCapabilityMatcher","newSessionWaitTimeout":-1,"prioritizer":null,"throwOnCapabilityNotPresent":true,"nodePolling":5000,"maxSession":5,"role":"hub","success":true,"timeout":300000}
This output is totally different from what you are getting. I am also attaching screenshot of same
Please advise.
Thanks
Gulshan
On Sunday, 18 November 2012 14:20:41 UTC-8, François Reynaud wrote: