WebPagetest Forums

Full Version: XML result format differences
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've noticed a number of small differences between the Moto G results and the other browsers. Many are camel case vs snake case but its not totally consistent (e.g., firstView vs. first_view, ttfb vs TTFB, loadTime vs load_time, URL vs url). I can code around but wanted to know if there were any plans to make them consistent before I did.

Thanks for the great tool!
Any chance you have an example? That would be a bug though I'd expect most of the UI to break.

Here is the desktop code: https://github.com/WPO-Foundation/webpag...a.inc#L243

And the devtools (Android): https://github.com/WPO-Foundation/webpag...c.php#L333
I'm an idiot. Upon inspection of the Suswatari wrapper gem I am using, I can see that its changing everything to snake case prior to me printing the results... at least in the case of a single run. Ether it does not understand how to deal with the array of results you get when you request more than one run or I'm using it wrong. In the former case, I'll submit a change to the maintainer.

Thanks
Reference URL's