Current time: 07-14-2020, 06:08 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to get page weights(JS, CSS, Image bytes/requests) for test with multi steps
03-15-2020, 04:17 AM
Post: #1
Unable to get page weights(JS, CSS, Image bytes/requests) for test with multi steps
https://www.webpagetest.org/result/20031...ae27013c0/
Ran the above test with below steps:
etEventName Launch
navigate http://www.bbc.co.uk/
setEventName News
navigate http://www.bbc.co.uk/
execAndWait document.querySelector('.orb-nav-news a').click();

While using WPT Bulk tester, the fetch macro for this test gives below error:
TypeError: Cannot read property 'js' of undefinedDetails

Also as seen in the screenshot, the values are not fetched for
breakdown.js.requests
breakdown.css.requests
breakdown.image.requests
These values are available on the Content Breadown.

If i run same test with only 1 step, these values are fetched.

Can anyone help me get these values for each step using the correct JSON Path extractors?

Thanks for your help!
Shruti


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
03-23-2020, 08:15 PM
Post: #2
RE: Unable to get page weights(JS, CSS, Image bytes/requests) for test with multi steps
You need to take account of the steps in the selection so something like:

data.runs.1.firstView.steps.[0].breakdown.js

Might try to work it out in more depth later

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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