Current time: 12-17-2017, 06:34 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waterfall details empty because wptResult is empty
11-15-2016, 06:40 AM
Post: #1
Waterfall details empty because wptResult is empty
So this is weird, testing a site, I found I could break the waterfall. Not sure why, but it appears variables in details.php get returned blank. No scripts, just a straight test through the GUI with default options, except private ,1 run, capture video

Public instance
http://www.webpagetest.org/result/161114...view_step1
where the unexpected token is:
wptRequestData['step1']=;

Private instance, I see this on details.php
var wptRequestData=;

I'm on PC chrome, latest version, but various coworkers are using mac/chrome, likely latest version
Find all posts by this user
Quote this message in a reply
11-22-2016, 12:19 AM
Post: #2
RE: Waterfall details empty because wptResult is empty
Are you still seeing issues? The waterfall looks to be loading OK for me now. Could be there were issues as the support for multi-step testing was being rolled out but I think I've fixed all of them (at least all I'm aware of).
Visit this user's website Find all posts by this user
Quote this message in a reply
11-22-2016, 12:28 AM (This post was last modified: 11-22-2016 12:31 AM by shmilla.)
Post: #3
RE: Waterfall details empty because wptResult is empty
Sorry Pat, I just tried another test and cleared my cache
http://www.webpagetest.org/result/161121...view_step1

When I click any of the requests in the waterfall, it refuses to show popup with details. I still see the TOKEN error.

Whatever populates that parameter seems to break the UI

Interestingly enough, if I do the test on another url, like http://www.ign.com, it works fine.
So there must be something with that Omaha link that's breaking WPT.
Find all posts by this user
Quote this message in a reply
11-22-2016, 12:58 AM
Post: #4
RE: Waterfall details empty because wptResult is empty
Thanks for the details. Should be fixed now. There was some data in the response headers that wasn't being encoded to utf8 internally so it was choking when it came time to encode it as json. Should work now.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-22-2016, 01:12 AM
Post: #5
RE: Waterfall details empty because wptResult is empty
(11-22-2016 12:58 AM)pmeenan Wrote:  Thanks for the details. Should be fixed now. There was some data in the response headers that wasn't being encoded to utf8 internally so it was choking when it came time to encode it as json. Should work now.

It works! Thanks Pat! When would the code/build be available for download? We're on a slightly older build of webpagetest, and I'd like to get dev to plan for the update.

(Thanks again for fixing this so quickly)
Find all posts by this user
Quote this message in a reply
11-22-2016, 03:52 AM
Post: #6
RE: Waterfall details empty because wptResult is empty
My Ops team asked I also clarify if it's the agent or server that requires an update.
Find all posts by this user
Quote this message in a reply
11-22-2016, 06:18 AM
Post: #7
RE: Waterfall details empty because wptResult is empty
It is the server (and it will retroactively fix previous tests not working). I am finishing up support for Microsoft Edge testing and should be done with it in a week or so at which point I'll cut a full new 3.0 release.

If you don't want to wait and I imagine updating the server is a little more heartburn than the agents, the change is trivial and can be patched into your current server: https://github.com/WPO-Foundation/webpag...557e2529b2

Basically in common_lib.inc it needs a new function to convert something to UTF8 and in object_detail.inc it just needs to call the function to fix-up the requests data before returning it to the rest of the code.
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: 1 Guest(s)