Selenium Grid: Running the demo tests in parallel causes errors

2 views
Skip to first unread message

Andrew

unread,
Jun 18, 2009, 10:41:17 AM6/18/09
to selenium-users...@googlegroups.com
Hi,

I'm trying to run the Java demo examples that come with Selenium Grid in parallel on Firefox on a single machine. However I'm getting errors whenever I run this:


java.lang.RuntimeException: Could not start Selenium session: ERROR: Could not retrieve a new session\\      at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89)\\      at com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage.startSeleniumSession(ThreadSafeSeleniumSessionStorage.java:26)\\      at com.thoughtworks.selenium.grid.demo.WebTestForASingleBrowser.domme(WebTestForASingleBrowser.java:51)\\      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\\      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\\      at java.lang.Thread.run(Thread.java:619)\\ Caused by: com.thoughtworks.selenium.SeleniumException: ERROR: Could not retrieve a new session\\      at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:92)\\      at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:86)\\      at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:243)\\      at com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:215)\\      at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:82)\\      ... 16 more\\ ... Removed 11 stack frames\\ \\ This is taken from C:\Application\selenium-grid-1.0.3\target\reports\Selenium Grid Demo In Parallel\index.html
My operating system is Windows XP and I'm trying to run the Java demo examples as document here: http://selenium-grid.seleniumhq.org/run_the_demo.html.The version of Java that I've got is '1.6.0_14' and the version of ant that I'm using is 1.7.1

Please can anybody help.

Thanks,
Andy

Reply all
Reply to author
Forward
0 new messages