WebPagetest Forums
Getting Individual Test IDs from a bulktest ID - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Getting Individual Test IDs from a bulktest ID (/showthread.php?tid=13101)



Getting Individual Test IDs from a bulktest ID - pganti - 07-22-2014 09:24 AM

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?


RE: Getting Individual Test IDs from a bulktest ID - pmeenan - 07-23-2014 01:32 AM

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).


RE: Getting Individual Test IDs from a bulktest ID - pganti - 07-23-2014 04:51 AM

(07-23-2014 01:32 AM)pmeenan Wrote:  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).

Thanks a bunch as always :-)