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

Key: SRC-199
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Robert Varga
Votes: 1
Watchers: 3
Operations

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

extend communication protocol between Selenium Server and the browser with timestamps

Created: 29/Nov/06 06:57 AM   Updated: 12/Aug/08 05:35 PM
Component/s: Server, Client Driver - Java, Client Driver - .NET, Client Driver - Python, Client Driver - Ruby, JS Runner, Client Driver - Perl
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Dear Developers,

I would request an extension of the communication protocol between the Selenium Server and the browser, so that upstream communication would contain a timestamp for the relevant point of the proceedings:

When a command is sent to the browser, it should get the actual browser timestamp just before processing the command and the timestamp of the completion, and return both.

All such timestamps should be according to the browser machine's own clock, measured nearest to the actual proceeding, so it can be used for measuring the time it takes to process an action (typically pressing a button, navigating, etc.).

All such timestamps should be returned to the Selenium RC Client code, for example in a return value, or filled into an additional API method parameter object, or all browser response HTTP request parameters could be fed back to the RC Client API method return parameters in a Map in a APICallResult object.

This would make it possible to use the browser opened by the Selenium Server as a performance test tool virtual user. Unfortunately measuring time in the Selenium RC Client has a way too high performance overhead, so the times measured there are absolutely unusable.

If it can not be scheduled for a soon coming release, please indicate some starting points on where I can find the relevant Javascript files handling the commands from the Selenium server, and I would probably be able and willing to code this as a contribution.

Best regards,

Robert Varga


 All   Comments   Work Log   Change History      Sort Order:
Jeffrey Yasskin - 21/Dec/07 05:42 PM
One thing I'd like to do with this feature is generate graphs similar to http://www.gomez.com/info_center/instant_test.php. With the control Selenium has, we could inspect the performance of javascript that executes after onload(), rather than just the initial request.