<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Selenium RC With Multiple Users</title>
	<atom:link href="http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users</link>
	<description></description>
	<lastBuildDate>Sat, 22 Oct 2011 10:44:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kathy</title>
		<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/comment-page-1#comment-64200</link>
		<dc:creator>Kathy</dc:creator>
		<pubDate>Thu, 23 Jun 2011 14:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users#comment-64200</guid>
		<description>I&#039;m running into a strange problem with multiple uses on the same server.  I log into one (my development system), and launch the selenium server on port 4444.  Then I log into the system as a different user (QA System) from a different computer and launch the selenium server on port 4445.  When I try to run a script from the QA System, the script runs, but the browser displays on the development system.  All the user shows is the console and status of the test.  If I shut down the server on the development system, I will get an error when I try to run a script from the QA system saying the server session should not be null (full text below).  Has anyone run into this? (BTW, I&#039;m running Firefox with separate profiles)

Thanks,

Kathy


09:58:14.852 INFO - Java: Sun Microsystems Inc. 19.1-b02
09:58:14.852 INFO - OS: Windows 2003 5.2 x86
09:58:14.868 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]
09:58:14.993 INFO - Version Jetty/5.1.x
09:58:14.993 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
09:58:14.993 INFO - Started HttpContext[/selenium-server,/selenium-server]
09:58:14.993 INFO - Started HttpContext[/,/]
09:58:15.024 INFO - Started SocketListener on 0.0.0.0:4445
09:58:15.024 INFO - Started org.mortbay.jetty.Server@1960f05
09:58:26.836 INFO - Checking Resource aliases
09:58:26.852 INFO - Command request: deleteAllVisibleCookies[, ] on session null

09:58:26.852 ERROR - Exception running &#039;deleteAllVisibleCookies &#039;command on sess
ion null
java.lang.NullPointerException: sessionId should not be null; has this session b
een started yet?
        at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(Fram
eGroupCommandQueueSet.java:214)
        at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(Selen
iumCoreCommand.java:34)
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se
leniumDriverResourceHandler.java:549)
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman
dRequest(SeleniumDriverResourceHandler.java:364)
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen
iumDriverResourceHandler.java:125)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
245)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
09:58:26.852 INFO - Got result: ERROR Server Exception: sessionId should not be
null; has this session been started yet? on session null
09:58:26.868 INFO - Command request: getLocation[, ] on session null
09:58:26.868 ERROR - Exception running &#039;getLocation &#039;command on session null
java.lang.NullPointerException: sessionId should not be null; has this session b
een started yet?
        at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(Fram
eGroupCommandQueueSet.java:214)
        at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(Selen
iumCoreCommand.java:34)
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se
leniumDriverResourceHandler.java:549)
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman
dRequest(SeleniumDriverResourceHandler.java:364)
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen
iumDriverResourceHandler.java:125)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
245)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
09:58:26.868 INFO - Got result: ERROR Server Exception: sessionId should not be
null; has this session been started yet? on session null</description>
		<content:encoded><![CDATA[<p>I&#8217;m running into a strange problem with multiple uses on the same server.  I log into one (my development system), and launch the selenium server on port 4444.  Then I log into the system as a different user (QA System) from a different computer and launch the selenium server on port 4445.  When I try to run a script from the QA System, the script runs, but the browser displays on the development system.  All the user shows is the console and status of the test.  If I shut down the server on the development system, I will get an error when I try to run a script from the QA system saying the server session should not be null (full text below).  Has anyone run into this? (BTW, I&#8217;m running Firefox with separate profiles)</p>
<p>Thanks,</p>
<p>Kathy</p>
<p>09:58:14.852 INFO &#8211; Java: Sun Microsystems Inc. 19.1-b02<br />
09:58:14.852 INFO &#8211; OS: Windows 2003 5.2 x86<br />
09:58:14.868 INFO &#8211; v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]<br />
09:58:14.993 INFO &#8211; Version Jetty/5.1.x<br />
09:58:14.993 INFO &#8211; Started HttpContext[/selenium-server/driver,/selenium-server<br />
/driver]<br />
09:58:14.993 INFO &#8211; Started HttpContext[/selenium-server,/selenium-server]<br />
09:58:14.993 INFO &#8211; Started HttpContext[/,/]<br />
09:58:15.024 INFO &#8211; Started SocketListener on 0.0.0.0:4445<br />
09:58:15.024 INFO &#8211; Started org.mortbay.jetty.Server@1960f05<br />
09:58:26.836 INFO &#8211; Checking Resource aliases<br />
09:58:26.852 INFO &#8211; Command request: deleteAllVisibleCookies[, ] on session null</p>
<p>09:58:26.852 ERROR &#8211; Exception running &#8216;deleteAllVisibleCookies &#8216;command on sess<br />
ion null<br />
java.lang.NullPointerException: sessionId should not be null; has this session b<br />
een started yet?<br />
        at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(Fram<br />
eGroupCommandQueueSet.java:214)<br />
        at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(Selen<br />
iumCoreCommand.java:34)<br />
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se<br />
leniumDriverResourceHandler.java:549)<br />
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman<br />
dRequest(SeleniumDriverResourceHandler.java:364)<br />
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen<br />
iumDriverResourceHandler.java:125)<br />
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)<br />
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)<br />
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)<br />
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)<br />
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)<br />
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)<br />
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:<br />
245)<br />
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)<br />
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)<br />
09:58:26.852 INFO &#8211; Got result: ERROR Server Exception: sessionId should not be<br />
null; has this session been started yet? on session null<br />
09:58:26.868 INFO &#8211; Command request: getLocation[, ] on session null<br />
09:58:26.868 ERROR &#8211; Exception running &#8216;getLocation &#8216;command on session null<br />
java.lang.NullPointerException: sessionId should not be null; has this session b<br />
een started yet?<br />
        at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(Fram<br />
eGroupCommandQueueSet.java:214)<br />
        at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(Selen<br />
iumCoreCommand.java:34)<br />
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se<br />
leniumDriverResourceHandler.java:549)<br />
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman<br />
dRequest(SeleniumDriverResourceHandler.java:364)<br />
        at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen<br />
iumDriverResourceHandler.java:125)<br />
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)<br />
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)<br />
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)<br />
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)<br />
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)<br />
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)<br />
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:<br />
245)<br />
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)<br />
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)<br />
09:58:26.868 INFO &#8211; Got result: ERROR Server Exception: sessionId should not be<br />
null; has this session been started yet? on session null</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raghu</title>
		<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/comment-page-1#comment-20646</link>
		<dc:creator>Raghu</dc:creator>
		<pubDate>Tue, 22 Jun 2010 05:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users#comment-20646</guid>
		<description>hi all,
I am learning the Selenium, but i need the information regarding Selenium, How can i connect the perl client driver with selenium and how can i configure with IDE.
I was searching in the net but i didn&#039;t get the much information.

With Regards,
V Raghu.</description>
		<content:encoded><![CDATA[<p>hi all,<br />
I am learning the Selenium, but i need the information regarding Selenium, How can i connect the perl client driver with selenium and how can i configure with IDE.<br />
I was searching in the net but i didn&#8217;t get the much information.</p>
<p>With Regards,<br />
V Raghu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: holminator</title>
		<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/comment-page-1#comment-13266</link>
		<dc:creator>holminator</dc:creator>
		<pubDate>Fri, 27 Nov 2009 13:04:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users#comment-13266</guid>
		<description>I am using Selenium RC at work. Up to 4 clients may run tests on a single server including IE. The reason for the IE browsers to interfere is:

&quot;For firefox, user can create a user profiles, and specify a profile for a particular test, therefore, multiple tests can run concurrently on the same machine. For IE, Selenium RC modify registry settings and configures the LAN connection settings directly, therefore only a single test can be run on a single machine.&quot;
(from http://khaidoan.wikidot.com/selenium-rc)

My solution:
I created 4 windows users each running a selenium rc server (on different ports of course) - so the IE browsers cannot interact with each other. BUT: The 4 users must all be logged on otherwise the IE does not start (they may be inactive or disconnected).
But be sure to have enough CPU power - IE is 5-10 (!) times slower than firefox, which may cause waitFor-commands to time out.</description>
		<content:encoded><![CDATA[<p>I am using Selenium RC at work. Up to 4 clients may run tests on a single server including IE. The reason for the IE browsers to interfere is:</p>
<p>&#8220;For firefox, user can create a user profiles, and specify a profile for a particular test, therefore, multiple tests can run concurrently on the same machine. For IE, Selenium RC modify registry settings and configures the LAN connection settings directly, therefore only a single test can be run on a single machine.&#8221;<br />
(from <a href="http://khaidoan.wikidot.com/selenium-rc" rel="nofollow">http://khaidoan.wikidot.com/selenium-rc</a>)</p>
<p>My solution:<br />
I created 4 windows users each running a selenium rc server (on different ports of course) &#8211; so the IE browsers cannot interact with each other. BUT: The 4 users must all be logged on otherwise the IE does not start (they may be inactive or disconnected).<br />
But be sure to have enough CPU power &#8211; IE is 5-10 (!) times slower than firefox, which may cause waitFor-commands to time out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Young</title>
		<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/comment-page-1#comment-11508</link>
		<dc:creator>Young</dc:creator>
		<pubDate>Tue, 20 Oct 2009 04:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users#comment-11508</guid>
		<description>Works well with Firefox. Does not seem to work with Internet Explorer.

Selenium tests always try to re-use the existing IE window (instead of launching a new IE window), causing tests to collide in the same IE window.</description>
		<content:encoded><![CDATA[<p>Works well with Firefox. Does not seem to work with Internet Explorer.</p>
<p>Selenium tests always try to re-use the existing IE window (instead of launching a new IE window), causing tests to collide in the same IE window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anil</title>
		<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/comment-page-1#comment-9291</link>
		<dc:creator>anil</dc:creator>
		<pubDate>Thu, 16 Jul 2009 11:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users#comment-9291</guid>
		<description>means we can run multiple RC one with each browser at a time? if so then it is great</description>
		<content:encoded><![CDATA[<p>means we can run multiple RC one with each browser at a time? if so then it is great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Php Class Tutorial</title>
		<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/comment-page-1#comment-1570</link>
		<dc:creator>Php Class Tutorial</dc:creator>
		<pubDate>Sat, 28 Jun 2008 15:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users#comment-1570</guid>
		<description>Good site I &quot;Stumbledupon&quot; it today and gave it a stumble for you.. looking forward to seeing what else you have..later</description>
		<content:encoded><![CDATA[<p>Good site I &#8220;Stumbledupon&#8221; it today and gave it a stumble for you.. looking forward to seeing what else you have..later</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Prado Maia&#8217;s Weblog &#187; Using Selenium RC with multiple users</title>
		<link>http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users/comment-page-1#comment-1552</link>
		<dc:creator>João Prado Maia&#8217;s Weblog &#187; Using Selenium RC with multiple users</dc:creator>
		<pubDate>Thu, 26 Jun 2008 19:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.zacharyfox.com/blog/testing/selenium-rc-multiple-users#comment-1552</guid>
		<description>[...] Fox (from Alert Logic too) wrote a very good tutorial on how to run Selenium RC to execute unit tests in a team [...]</description>
		<content:encoded><![CDATA[<p>[...] Fox (from Alert Logic too) wrote a very good tutorial on how to run Selenium RC to execute unit tests in a team [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

