WebPagetest Forums
Labelling benchmarks - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Labelling benchmarks (/showthread.php?tid=13499)

Labelling benchmarks - kevinrdixon - 01-21-2015 12:08 AM

I've a set of benchmarks running nightly which cover 18 sites, and for those 8 sites 4 different 'page types'. I'm attempting to integrate the results with Splunk, via the WPT logging mechanism.
The issue I have is that I can't find a way of 'labelling' the tests via benchmarks that also end up in the logged results - so I can easily distinguish in Splunk "this result is for site 1, page type X". Ideally that would mean defining benchmarks with two label fields (or at a push one field with delimited content).

The 'testLabel' field always appears to be blank for logged benchmark results, even if the URL file has a label defined, or if 'testLabel' field is added to the PHP benchmark definition.

Is there a recommended way of labelling tests scheduled with Benchmarks?

RE: Labelling benchmarks - kevinrdixon - 01-23-2015 06:13 PM

Any ideas anyone?

RE: Labelling benchmarks - kevinrdixon - 01-28-2015 09:06 PM

Found the answer by digging in the code:

Add 'label' field to the 'settings' array set in the benchmark configuration, and this will appear as 'testLabel' in the log files.