History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-43
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Nelson Sproul
Reporter: Nelson Sproul
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

getEval which returns a long string leads to a 414 on selenium-server

Created: 19/Apr/06 04:24 PM   Updated: 18/Nov/08 09:23 AM
Component/s: JS Runner
Affects Version/s: None
Fix Version/s: 0.8.0

Original Estimate: 168h Remaining Estimate: 168h Time Spent: Unknown


 Description  « Hide
the result of the JavaScript evaluation is encoded in a URL; if this result is too long, the server can't handle it and the client is never alerted.

it seems to me that there are two problems here:

1. the JavaScript which puts together the URL doesn't guard against sending an excessively long URL to the server. I suspect that we will not be able to just rely on the server to be more robust under these circumstances because it is jetty code that is throwing the exception. I think so long as we are using jetty, we will need to keep these URLs down to a manageable length.

2. the selenium server should see the jetty exception and propagate an error to the client instead of letting the client hang

to reproduce this problem, run the GoogleTestSearch test case.

 All   Comments   Work Log   Change History      Sort Order:
Patrick Lightbody - 25/Apr/06 07:43 PM
I believe this problem should go away now that my changes to Core and RC are checked in. They now use a POST body to return results rather than a GET query parameter

Dan Fabulich - 26/Apr/06 12:12 PM
Fixed in Revision 1067