TTFB = 0 when testing in Desktop. Mobile works fine
|
07-21-2018, 05:26 AM
(This post was last modified: 07-21-2018 07:13 AM by abhagupta.)
Post: #1
|
|||
|
|||
TTFB = 0 when testing in Desktop. Mobile works fine
Metric for TTFB is different in private instance when executed on mobile and Desktop.
My Script : logData 0 navigate https://www.walmart.com/account/login execAndWait document.querySelector('[name="email"]').value='webpagetest_10_items@gmail.com' exec document.querySelector('[name=email]').dispatchEvent(new Event('blur')); execAndWait document.querySelector('[name="password"]').value='XXXX'; exec document.querySelector('[name=password]').dispatchEvent(new Event('blur')); execAndWait document.querySelector('[data-automation-id="signin-submit-btn"]').click() sleep 10 logData 1 navigate https://www.walmart.com/cart When I run the script in mobile device.. it gives me correct TTFB, but if I run it on Desktop (Chrome,FF, IE), it gives me TTFB of 0. Upon investigating HAR, it looks like I get TTFB of beacon.walmart.com instead of '/cart' . Why would there be a difference in Desktop and Mobile. One reference test for public instance of wpt of similar test https://www.webpagetest.org/result/18072...1/details/ Any help in investigation is appreciated Attaching 2 screenshots Desktop Mobile |
|||
07-21-2018, 07:06 AM
Post: #2
|
|||
|
|||
RE: TTFB = 0 when testing in Desktop. Mobile works fine
Update. If I add `combineSteps` in the beginning of the script, the I do get a reasonable TTFB (~400ms) in the desktop test.. Just wondering, why would `combineSteps` make any difference in how test is recorded.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)