Selenium RC: Getting the error "com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://rtdc78141qaemt.us.oracle.com:7001/ Response_Code = -1 Error_Message = Request Error"

66 views
Skip to first unread message

Shari

unread,
Oct 25, 2010, 12:30:14 PM10/25/10
to Selenium Users
Hi There,
I'm running one test case in Selenium RC (using junit) and
getting the below error msg in my test case.
com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL =
http://rtdc78141qaemt.us.oracle.com:7001/ Response_Code = -1
Error_Message = Request Error
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:
97)
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
91)
at
com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:
335)
at
testing.scripts.ObectRepositoryImplement.testOR(ObectRepositoryImplement.java:
47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at
com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:
212)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:
130)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
197)

Kindly give one idea to solve it.
Highly appreciate your help !..

Scott Walker

unread,
Oct 25, 2010, 1:49:22 PM10/25/10
to Selenium Users
I'm guessing this only happens for this specific test you are running?

I've only run into one XHR error before, and it turned out to be this
bug: http://code.google.com/p/selenium/issues/detail?id=400. This
could be a bug with Selenium, so you may want to try searching the
submitted bug list to see if anything turns out. That's how I found
out about the one I ran into.

Scott


On Oct 25, 9:30 am, Shari <jayashankar...@gmail.com> wrote:
> Hi There,
>            I'm running one test case in Selenium RC (using junit) and
> getting the below error msg in my test case.
>       com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL =http://rtdc78141qaemt.us.oracle.com:7001/Response_Code = -1

Shari

unread,
Oct 25, 2010, 11:38:35 PM10/25/10
to Selenium Users
Thanks Scott for the reply!
Yeah, seems to be a bug with selenium.

On Oct 25, 10:49 pm, Scott Walker <vol...@inbox.com> wrote:
> I'm guessing this only happens for this specific test you are running?
>
> I've only run into one XHR error before, and it turned out to be this
> bug:  http://code.google.com/p/selenium/issues/detail?id=400.  This
> could be a bug with Selenium, so you may want to try searching the
> submitted bug list to see if anything turns out.  That's how I found
> out about the one I ran into.
>
> Scott
>
> On Oct 25, 9:30 am, Shari <jayashankar...@gmail.com> wrote:
>
>
>
> > Hi There,
> >            I'm running one test case in Selenium RC (using junit) and
> > getting the below error msg in my test case.
> >       com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL =http://rtdc78141qaemt.us.oracle.com:7001/Response_Code= -1
> > Error_Message = Request Error
> >         at
> > com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExcepti­onOrError(HttpCommandProcessor.java:
> > 97)
> >         at
> > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess­or.java:
> > 91)
> >         at
> > com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:
> > 335)
> >         at
> > testing.scripts.ObectRepositoryImplement.testOR(ObectRepositoryImplement.ja­va:
> > 47)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > 39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp­l.java:
> > 25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at junit.framework.TestCase.runTest(TestCase.java:154)
> >         at junit.framework.TestCase.runBare(TestCase.java:127)
> >         at
> > com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:
> > 212)
> >         at junit.framework.TestResult$1.protect(TestResult.java:106)
> >         at junit.framework.TestResult.runProtected(TestResult.java:124)
> >         at junit.framework.TestResult.run(TestResult.java:109)
> >         at junit.framework.TestCase.run(TestCase.java:118)
> >         at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >         at junit.framework.TestSuite.run(TestSuite.java:203)
> >         at
> > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3­TestReference.java:
> > 130)
> >         at
> > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
> > 38)
> >         at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR­unner.java:
> > 467)
> >         at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR­unner.java:
> > 683)
> >         at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner­.java:
> > 390)
> >         at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne­r.java:
> > 197)
>
> > Kindly give one idea to solve it.
> > Highly appreciate your help !..- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages