WebPagetest Forums
List of domains involved for a given testid - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: List of domains involved for a given testid (/showthread.php?tid=13483)



List of domains involved for a given testid - pganti - 01-14-2015 09:35 AM

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.


RE: List of domains involved for a given testid - andydavies - 01-15-2015 06:11 AM

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


RE: List of domains involved for a given testid - pganti - 01-15-2015 07:25 AM

@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
}
]
}
}
====