Sachin Nikam
2015-07-22 04:56:53 UTC
Hi All,
I am using RobotFramework for automation testing.
I am running my test suites in parallel using node and specifying that node
in the suite setup.
Lets say one of my suite is having more testcases than other suites.
Execution goes on, on the respective node and other nodes are ideal.
Is it possible instead of configuring node in each suite, I give hub url
and then hub will distribute the test on available nodes.
I tried to give hub url but got following error:
WebDriverException: Message: Session [(null externalkey)] not available and
is not among the last 1000 terminated sessions.
Active sessions are[]
Stacktrace: at
org.openqa.grid.internal.ActiveTestSessions.getExistingSession
(ActiveTestSessions.java:110)
at org.openqa.grid.internal.Registry.getExistingSession (Registry.java:423)
at org.openqa.grid.web.servlet.handler.RequestHandler.getSession
(RequestHandler.java:238)
at org.openqa.grid.web.servlet.handler.RequestHandler.process
(RequestHandler.java:119)
at org.openqa.grid.web.servlet.DriverServlet.process
(DriverServlet.java:83)
at org.openqa.grid.web.servlet.DriverServlet.doPost (DriverServlet.java:67)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:820)
at org.seleniumhq.jetty7.servlet.ServletHolder.handle
(ServletHolder.java:565)
at org.seleniumhq.jetty7.servlet.ServletHandler.doHandle
(ServletHandler.java:479)
at org.seleniumhq.jetty7.server.session.SessionHandler.doHandle
(SessionHandler.java:225)
at org.seleniumhq.jetty7.server.handler.ContextHandler.doHandle
(ContextHandler.java:1031)
at org.seleniumhq.jetty7.servlet.ServletHandler.doScope
(ServletHandler.java:406)
at org.seleniumhq.jetty7.server.session.SessionHandler.doScope
(SessionHandler.java:186)
at org.seleniumhq.jetty7.server.handler.ContextHandler.doScope
(ContextHandler.java:965)
at org.seleniumhq.jetty7.server.handler.ScopedHandler.handle
(ScopedHandler.java:117)
at org.seleniumhq.jetty7.server.handler.HandlerWrapper.handle
(HandlerWrapper.java:111)
at org.seleniumhq.jetty7.server.Server.handle (Server.java:349)
at org.seleniumhq.jetty7.server.AbstractHttpConnection.handleRequest
(AbstractHttpConnection.java:452)
at org.seleniumhq.jetty7.server.BlockingHttpConnection.handleRequest
(BlockingHttpConnection.java:47)
at org.seleniumhq.jetty7.server.AbstractHttpConnection.content
(AbstractHttpConnection.java:894)
at
org.seleniumhq.jetty7.server.AbstractHttpConnection$RequestHandler.content
(AbstractHttpConnection.java:948)
at org.seleniumhq.jetty7.http.HttpParser.parseNext (HttpParser.java:857)
at org.seleniumhq.jetty7.http.HttpParser.parseAvailable
(HttpParser.java:235)
at org.seleniumhq.jetty7.server.BlockingHttpConnection.handle
(BlockingHttpConnection.java:66)
at org.seleniumhq.jetty7.server.bio.SocketConnector$ConnectorEndPoint.run
(SocketConnector.java:254)
at org.seleniumhq.jetty7.util.thread.QueuedThreadPool.runJob
(QueuedThreadPool.java:599)
at org.seleniumhq.jetty7.util.thread.QueuedThreadPool$3.run
(QueuedThreadPool.java:534)
at java.lang.Thread.run (Thread.java:744)
I am using RobotFramework for automation testing.
I am running my test suites in parallel using node and specifying that node
in the suite setup.
Lets say one of my suite is having more testcases than other suites.
Execution goes on, on the respective node and other nodes are ideal.
Is it possible instead of configuring node in each suite, I give hub url
and then hub will distribute the test on available nodes.
I tried to give hub url but got following error:
WebDriverException: Message: Session [(null externalkey)] not available and
is not among the last 1000 terminated sessions.
Active sessions are[]
Stacktrace: at
org.openqa.grid.internal.ActiveTestSessions.getExistingSession
(ActiveTestSessions.java:110)
at org.openqa.grid.internal.Registry.getExistingSession (Registry.java:423)
at org.openqa.grid.web.servlet.handler.RequestHandler.getSession
(RequestHandler.java:238)
at org.openqa.grid.web.servlet.handler.RequestHandler.process
(RequestHandler.java:119)
at org.openqa.grid.web.servlet.DriverServlet.process
(DriverServlet.java:83)
at org.openqa.grid.web.servlet.DriverServlet.doPost (DriverServlet.java:67)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:820)
at org.seleniumhq.jetty7.servlet.ServletHolder.handle
(ServletHolder.java:565)
at org.seleniumhq.jetty7.servlet.ServletHandler.doHandle
(ServletHandler.java:479)
at org.seleniumhq.jetty7.server.session.SessionHandler.doHandle
(SessionHandler.java:225)
at org.seleniumhq.jetty7.server.handler.ContextHandler.doHandle
(ContextHandler.java:1031)
at org.seleniumhq.jetty7.servlet.ServletHandler.doScope
(ServletHandler.java:406)
at org.seleniumhq.jetty7.server.session.SessionHandler.doScope
(SessionHandler.java:186)
at org.seleniumhq.jetty7.server.handler.ContextHandler.doScope
(ContextHandler.java:965)
at org.seleniumhq.jetty7.server.handler.ScopedHandler.handle
(ScopedHandler.java:117)
at org.seleniumhq.jetty7.server.handler.HandlerWrapper.handle
(HandlerWrapper.java:111)
at org.seleniumhq.jetty7.server.Server.handle (Server.java:349)
at org.seleniumhq.jetty7.server.AbstractHttpConnection.handleRequest
(AbstractHttpConnection.java:452)
at org.seleniumhq.jetty7.server.BlockingHttpConnection.handleRequest
(BlockingHttpConnection.java:47)
at org.seleniumhq.jetty7.server.AbstractHttpConnection.content
(AbstractHttpConnection.java:894)
at
org.seleniumhq.jetty7.server.AbstractHttpConnection$RequestHandler.content
(AbstractHttpConnection.java:948)
at org.seleniumhq.jetty7.http.HttpParser.parseNext (HttpParser.java:857)
at org.seleniumhq.jetty7.http.HttpParser.parseAvailable
(HttpParser.java:235)
at org.seleniumhq.jetty7.server.BlockingHttpConnection.handle
(BlockingHttpConnection.java:66)
at org.seleniumhq.jetty7.server.bio.SocketConnector$ConnectorEndPoint.run
(SocketConnector.java:254)
at org.seleniumhq.jetty7.util.thread.QueuedThreadPool.runJob
(QueuedThreadPool.java:599)
at org.seleniumhq.jetty7.util.thread.QueuedThreadPool$3.run
(QueuedThreadPool.java:534)
at java.lang.Thread.run (Thread.java:744)
--
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/394c3fcf-b01d-4699-a4fa-ac19f6633ccb%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/394c3fcf-b01d-4699-a4fa-ac19f6633ccb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.