Current time: 12-14-2017, 11:12 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
redirects confuse FF-measurements
01-25-2012, 11:43 PM
Post: #1
redirects confuse FF-measurements
Hi,
I am using wpt 2.5 (incl. agent-patch for Chrome/FF-agents) wth IE 8, Chrome 16 and FF 7-agents.

I have the following problems with my FF 7-measurements:

Many of my pages do redirects in different ways. Some pages are loaded from the onload-event of a wait-page, for example. The FF-results of these pages are getting into a mess: e.g. a search result-page shows a document complete-time of about 4 and a fully loaded-time of about 5.5 seconds, tested with IE 8. Same page tested with FF 7 shows a document complete-time of 0.1 and a fully loaded-time of about 3.5 seconds. The first html-request for the wait-page is measured for document loaded-time, apparently (see attachement).

I will try to integrate some end condition-commands in wpt-scripts like requiredRequest (with requests for static resources on the main page) but don' know whether that will change the measurements.

Do you have another idea to obtain comparable IE- and FF-measurements with pages incl. redirects?


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
01-26-2012, 12:36 AM
Post: #2
RE: redirects confuse FF-measurements
Do you have a publicly-reachable page that you can share for testing? It could be a simple bug in the new agent code (firefox/chrome) where the IE agent uses the time of the last onLoad, it is possible that the wptdriver agent is using the first onload and not allowing it to be updated.

I'll take a look at the code but a test case would help.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-26-2012, 01:01 AM
Post: #3
RE: redirects confuse FF-measurements
The script of my example:

Code:
logData    0
navigate    http://www.otto.de
execAndWait    document.getElementById('TconHrefModul_02').click();
logData    1
exec    document.getElementById('searchValue').value='shirt';
execAndWait    document.getElementById('top_search_submit').click();
Find all posts by this user
Quote this message in a reply
02-04-2012, 12:51 AM
Post: #4
RE: redirects confuse FF-measurements
Some news about that subject?
Find all posts by this user
Quote this message in a reply
02-06-2012, 12:11 AM
Post: #5
RE: redirects confuse FF-measurements
Is it possible that changing the FF-version (e.g. from 7 to 3.6 or 8) will solve this problem?
Find all posts by this user
Quote this message in a reply
02-06-2012, 11:18 PM
Post: #6
RE: redirects confuse FF-measurements
Sorry, last week was crazy - I'll take a look today. I don't think changing the Firefox version will have any effect.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-07-2012, 01:05 AM
Post: #7
RE: redirects confuse FF-measurements
Found the issue and have a fix. You can grab an updated overlay.js for the firefox extension from here: http://webpagetest.googlecode.com/svn/tr...overlay.js (goes in templates\Firefox\extensions\wptdriver@webpagetest.org\chrome\content) or if you want to wait until later today I'll also have a full binary update for the agent that includes the fix.

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
02-07-2012, 03:54 AM
Post: #8
RE: redirects confuse FF-measurements
ok, the updated agent package is available from here: http://www.webpagetest.org/work/update/wptupdate.zip

Just extract the contents to your agent directory or drop it in the work/update directory on your server (if you drop it in work/update you will need to extract wptupdate.ini from the zip to the same directory).

Here is a sample result: http://www.webpagetest.org/result/120206_4V_34NKV/

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
02-07-2012, 06:33 PM
Post: #9
RE: redirects confuse FF-measurements
Thanks a lot!!!
I will test the patch as soon as possible.
Find all posts by this user
Quote this message in a reply
02-16-2012, 02:09 AM
Post: #10
RE: redirects confuse FF-measurements
That works, great!!!

But:
Chrome-Jobs broke since I brought in the new patch. On agents with chrome-version 16 chrome-jobs work, on agents with chrome 17 the jobs aren't working (maybe that error appeared independent of the patch).
Chrome opens with "about:blank" in adress line and nothing happens till timeout. I have installed the patch through automatic update-mechanism (deleted everything from work/update-folder and copied zip and ini to it). Some weeks ago I installed your 2.5 agent-patch to get Chrome16/IE8 to work on same agents.

btw:
If work/update/wptupdate.zip and work/update/wptupdate.ini are for agent-updates, what are work/update/update.zip and work/update/update.ini for?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)