pganti
January 13, 2015, 11:35pm
1
I am asking given a testid, I just want a list of only the domains involved with no extra info.
Something like ?f=json to work with the output http://www.webpagetest.org/domains.php?test=150113_AC_17RS&run=3&cached=0
I can still submit a test via API and then check the domains.php output and parse out the table things versus its super easy if we can expose the raw array/hash as a json output.
If you want to deploy it on a private instance this PR should do what you want
https://github.com/WPO-Foundation/webpagetest/pull/381
pganti
January 14, 2015, 9:25pm
3
@andydavies : That was super fast and exactly what I needed.
=========
{
“domains”: {
“firstView”: [
{
“domain”: “m.airbnb.com ”,
“bytes”: 40326,
“requests”: 6,
“connections”: 3
},
{
“domain”: “maps.gstatic.com ”,
“bytes”: 297695,
“requests”: 5,
“connections”: 1
},
{
“domain”: “a0.muscache.com ”,
“bytes”: 122461,
“requests”: 10,
“connections”: 2
},
{
“domain”: “a1.muscache.com ”,
“bytes”: 139141,
“requests”: 7,
“connections”: 3
},
{
“domain”: “a2.muscache.com ”,
“bytes”: 515264,
“requests”: 12,
“connections”: 3
},
{
“domain”: “www.google-analytics.com ”,
“bytes”: 11563,
“requests”: 2,
“connections”: 1
},
{
“domain”: “maps.googleapis.com ”,
“bytes”: 1125,
“requests”: 1,
“connections”: 1
}
]
}
}