WebPagetest Forums
Confused by Hosted Scripting results - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Confused by Hosted Scripting results (/showthread.php?tid=14703)



Confused by Hosted Scripting results - chelvan - 01-19-2017 01:29 AM

I am using the Hosted Scripting option to test the path between 2 pages so I can understand the performance path. In this case, I want to measure the performance of a sign in page from the home page and assumed that there would be shared css and js caching, so the number of requests and speed index would be reduced.


To perform the test, I didn't enter any URL into the Website Location box - but did enter the script as follows:


// Example script
logData 0
navigate (home page URL)

logData 1
navigate (sign in page URL)
// End

In looking at the results however, I am confused since it doesn't seem like there is any difference - the number of requests and Speed Index are the same. (Note that I am looking at the First View results, as I assumed that would be considered a first view since the user wouldnt have yet visited the page (but coming into the page with cache).

Any assistance would be greatly appreciated.


RE: Confused by Hosted Scripting results - andydavies - 01-19-2017 02:30 AM

Have you got a link to the test?


RE: Confused by Hosted Scripting results - chelvan - 01-19-2017 06:59 AM

(01-19-2017 02:30 AM)andydavies Wrote:  Have you got a link to the test?
Link here -
https://www.webpagetest.org/result/170118_MJ_2f362a27a51136b5b0150a5359bc6009/


RE: Confused by Hosted Scripting results - pmeenan - 01-24-2017 03:38 AM

Mobile devices can't run multi-step scripts yet. If you want to test a mobile page using a script you have to use desktop chrome and then turn on mobile emulation in the advanced settings. Getting multi-step scripts working for mobile is on my list to get done this quarter.


RE: Confused by Hosted Scripting results - chelvan - 01-24-2017 07:54 AM

Patrick - Thanks for the info and work around. I'll give that a try.


(01-24-2017 03:38 AM)pmeenan Wrote:  Mobile devices can't run multi-step scripts yet. If you want to test a mobile page using a script you have to use desktop chrome and then turn on mobile emulation in the advanced settings. Getting multi-step scripts working for mobile is on my list to get done this quarter.