Testin kas selenium-rc server toimib. Enne sisenen serverisse ssh serverinimi -X ehk siis X over ssh.
[22:40:50 margusja@arendus ~]$ java -jar /usr/local/bin/selenium-server.jar -interactive
22:42:00.790 INFO - Java: Sun Microsystems Inc. 1.6.0_0-b12
22:42:00.791 INFO - OS: Linux 2.6.27.38-170.2.113.fc10.i686 i386
22:42:00.798 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]
22:42:00.864 INFO - Version Jetty/5.1.x
22:42:00.865 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
22:42:00.866 INFO - Started HttpContext[/selenium-server,/selenium-server]
22:42:00.866 INFO - Started HttpContext[/,/]
22:42:00.871 INFO - Started SocketListener on 0.0.0.0:4444
22:42:00.872 INFO - Started org.mortbay.jetty.Server@6e70c7
Entering interactive mode... type Selenium commands here (e.g: cmd=open&1=http://www.yahoo.com)
cmd=open&1=http://margusja.pri.ee
22:42:28.559 INFO - ---> Requesting http://localhost:4444/selenium-server/driver?cmd=open&1=http://margusja.pri.ee&sessionId=
22:42:28.765 INFO - Checking Resource aliases
22:42:28.771 INFO - Command request: open[http://margusja.pri.ee, ] on session
22:42:28.780 ERROR - Exception running 'open 'command on session
java.lang.RuntimeException: sessionId doesn't exist; perhaps this session was already stopped?
at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:218)
at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(SeleniumCoreCommand.java:34)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:549)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.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)
22:42:28.781 INFO - Got result: ERROR Server Exception: sessionId doesn't exist; perhaps this session was already stopped? on session
cmd=getNewBrowserSession&1=*firefox&2=http://margusja.pri.ee
22:43:22.731 INFO - ---> Requesting http://localhost:4444/selenium-server/driver?cmd=getNewBrowserSession&1=*firefox&2=http://margusja.pri.ee
22:43:22.736 INFO - Command request: getNewBrowserSession[*firefox, http://margusja.pri.ee] on session null
22:43:22.738 INFO - creating new remote session
22:43:22.933 INFO - Allocated session ef946e17e9634c00b94683cf65c81dd8 for http://margusja.pri.ee, launching...
22:43:23.023 INFO - Preparing Firefox profile...
Xlib: extension "RANDR" missing on display "localhost:11.0".
Xlib: extension "RANDR" missing on display "localhost:11.0".
22:43:54.433 INFO - Launching Firefox...
22:44:47.477 INFO - Got result: OK,ef946e17e9634c00b94683cf65c81dd8 on session ef946e17e9634c00b94683cf65c81dd8
^C22:47:08.004 INFO - Shutting down...
22:47:08.065 INFO - Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4444]