java - Slow startup of Selenium-Server-Standalone on OSX -



java - Slow startup of Selenium-Server-Standalone on OSX -

selenium-server-standalone has 5 seconds delay while starting. if run selenium debug alternative shows delay caused new random session seed.

i start selenium server java -jar selenium-server-standalone-2.44.0.jar.

if want specify chromedriver write java -jar selenium-server-standalone-2.44.0.jar -dwebdriver.chrome.driver=chromedriver_2.11

it happens with:

osx 10.9.5 , osx 10.10 java 1.7.0_51 (update 67 , update 71) selenium-server-standalone 2.42.0, 2.43.1, 2.44.0 with , without chromedriver (2.9, 2.10, 2.11) running sudo , non-priveleged user

from know on other machines same configuration there no such delay.

it may seem 5 seconds nothing, have issue caused same problem. it gives me 1 min of waiting instead of few seconds.

here log

11:22:50.445 info - launching standalone server 11:22:50.820 info - java: oracle corporation 24.51-b03 11:22:50.820 info - os: mac os x 10.10 x86_64 11:22:50.948 info - v2.44.0, core v2.44.0. built revision 76d78cf 11:22:50.948 info - selenium server running in debug mode. 11:22:51.001 debug - add together component: socketlistener0@0.0.0.0:4444 11:22:51.022 debug - add together component: org.openqa.jetty.http.resourcecache@50265e47 11:22:51.046 debug - add together component: org.openqa.selenium.server.proxyhandler in httpcontext[/,/] 11:22:51.065 debug - add together component: httpcontext[/,/] 11:22:51.070 debug - added httpcontext[/,/] host * 11:22:51.071 debug - add together component: org.openqa.jetty.http.resourcecache@36264c17 11:22:51.073 debug - added sc{basic,null,user,confidential} @ /org/openqa/selenium/tests/html/basicauth/* 11:22:51.107 debug - add together component: org.openqa.jetty.http.handler.securityhandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.111 debug - add together component: org.openqa.selenium.server.staticcontenthandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.123 debug - add together component: org.openqa.selenium.server.sessionextensionjshandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.125 debug - add together component: org.openqa.selenium.server.htmlrunner.singletestsuiteresourcehandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.126 debug - add together component: org.openqa.selenium.server.htmlrunner.seleniumhtmlrunnerresultshandler@6d9d3901 11:22:51.132 debug - add together component: httpcontext[/selenium-server,/selenium-server] 11:22:51.132 debug - added httpcontext[/selenium-server,/selenium-server] host * 11:22:51.242 info - default driver org.openqa.selenium.ie.internetexplorerdriver registration skipped: registration capabilities capabilities [{platform=windows, ensurecleansession=true, browsername=internet explorer, version=}] not match current platform: mac 11:22:51.446 debug - add together component: org.openqa.jetty.http.resourcecache@61f3318a 11:22:51.483 debug - add together component: org.openqa.selenium.server.seleniumdriverresourcehandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.483 debug - add together component: httpcontext[/selenium-server/driver,/selenium-server/driver] 11:22:51.484 debug - added httpcontext[/selenium-server/driver,/selenium-server/driver] host * 11:22:51.484 debug - add together component: org.openqa.jetty.http.resourcecache@c3b626c 11:22:51.528 debug - add together component: webdriver remote server 11:22:51.568 debug - add together component: org.openqa.jetty.jetty.servlet.hashsessionmanager@5298d146 11:22:51.568 debug - add together component: org.openqa.jetty.jetty.servlet.servlethandler@2ed37507 11:22:51.596 info - remotewebdriver instances should connect to: http://127.0.0.1:4444/wd/hub 11:22:51.596 debug - add together component: httpcontext[/wd,/wd] 11:22:51.597 debug - added httpcontext[/wd,/wd] host * 11:22:51.597 debug - starting org.openqa.jetty.jetty.server@a5bdce3 11:22:51.598 info - version jetty/5.1.x 11:22:51.598 debug - listeners: [socketlistener0@0.0.0.0:4444] 11:22:51.598 debug - handler: {null={/selenium-server/driver/*=[httpcontext[/selenium-server/driver,/selenium-server/driver]], /selenium-server/*=[httpcontext[/selenium-server,/selenium-server]], /=[httpcontext[/,/]], /wd/*=[httpcontext[/wd,/wd]]}} 11:22:51.599 debug - starting httpcontext[/selenium-server/driver,/selenium-server/driver] 11:22:51.612 debug - init classloader null, sun.misc.launcher$appclassloader@5eb1404f httpcontext[/selenium-server/driver,/selenium-server/driver] 11:22:51.612 info - started httpcontext[/selenium-server/driver,/selenium-server/driver] 11:22:51.612 debug - starting httpcontext[/selenium-server,/selenium-server] 11:22:51.612 debug - init classloader null, sun.misc.launcher$appclassloader@5eb1404f httpcontext[/selenium-server,/selenium-server] 11:22:51.613 debug - started org.openqa.jetty.http.handler.securityhandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.613 debug - started org.openqa.selenium.server.staticcontenthandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.613 debug - started org.openqa.selenium.server.sessionextensionjshandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.613 debug - started org.openqa.selenium.server.htmlrunner.singletestsuiteresourcehandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.613 debug - started org.openqa.selenium.server.seleniumdriverresourcehandler in httpcontext[/selenium-server,/selenium-server] 11:22:51.613 info - started httpcontext[/selenium-server,/selenium-server] 11:22:51.614 debug - starting httpcontext[/,/] 11:22:51.614 debug - init classloader null, sun.misc.launcher$appclassloader@5eb1404f httpcontext[/,/] 11:22:51.614 debug - started org.openqa.selenium.server.proxyhandler in httpcontext[/,/] 11:22:51.614 info - started httpcontext[/,/] 11:22:51.614 debug - starting httpcontext[/wd,/wd] 11:22:51.614 debug - init classloader null, sun.misc.launcher$appclassloader@5eb1404f httpcontext[/wd,/wd] 11:22:51.614 debug - starting org.openqa.jetty.jetty.servlet.servlethandler@2ed37507 11:22:51.614 debug - new random session seed 11:22:56.882 debug - session scavenger period = 30s 11:22:56.890 debug - started holder of class org.openqa.selenium.remote.server.driverservlet 11:22:56.891 info - started org.openqa.jetty.jetty.servlet.servlethandler@2ed37507 11:22:56.891 info - started httpcontext[/wd,/wd] 11:22:56.928 info - started socketlistener on 0.0.0.0:4444 11:22:56.928 info - started org.openqa.jetty.jetty.server@a5bdce3

java osx selenium selenium-server

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -