pganti
July 21, 2014, 11:24pm
1
Say I did a bulk test and get a URL like the following
http://private.instance.of.webpagete.st/results.php?test=140721_VK_3C
Given the input of 140721_VK_3C I want to decompose it into individual tests like 140721_NM_3D, 140721_ZJ_3E and the likes.
Is there a way to do this?
Sure. Take this bulk test as an example: http://www.webpagetest.org/result/140722_KZ_NMG/
You can use the normal XML entry point which will provide the list of individual tests: http://www.webpagetest.org/xmlResult.php?test=140722_KZ_NMG
(looks like the JSON interface isn’t hooked up).
You can also use the aggregate CSV interface (link at the bottom of the result) where each row is an individual test and the last column is the test ID: http://www.webpagetest.org/aggregate.php?test=140722_KZ_NMG
If you’d like JSON access to it it shouldn’t be too hard to add, just open a github issue and I can get it into the next release (probably 2.16 since 2.15 is going out the door now).