The new Test History is very nice and makes it easier to locate tests. If it’s not too much to ask, is it possible to add the option to delete a test?
Sometimes -rarely, but it happens- a running test gets stuck and can’t be cancelled. It just remains there appearing as if running, even if you come back after an hour. The problem is these few failed tests show up in the Test History also, and if clicked they are blank.
So it would really be useful if we could delete them, not to clutter the History.
Thanks for the suggestion! This one has come up a few times. We’re doing a bunch of work on the Test History page at the moment and this is absolutely one of the things on our list. Stay tuned!
Could you share the documention of where to provide this “hide tests” option. I’m not able to find it in the types for runTest method.
This are the options I see there.
interface TestOptions {
/** location to test from /
location?: string | undefined;
/* connectivity profile – requires location to be specified – (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable] /
connectivity?: string | undefined;
/* number of test runs [1] /
runs?: number | undefined;
/* skip the Repeat View test /
firstViewOnly?: boolean | undefined;
/* capture video /
video?: boolean | undefined;
/* keep the test hidden from the test log /
private?: boolean | undefined;
/* label for the test /
label?: string | undefined;
/* stop test at document complete. typically, tests run until all activity stops /
stopAtDocumentComplete?: boolean | undefined;
/* disable JavaScript (IE, Chrome, Firefox) /
disableJavaScript?: boolean | undefined;
/* clear SSL certificate caches /
clearCerts?: boolean | undefined;
/* ignore SSL certificate errors, e.g. name mismatch, self-signed certificates, etc /
ignoreSSL?: boolean | undefined;
/* forces all pages to load in standards mode (IE only) /
disableCompatibilityView?: boolean | undefined;
/* capture network packet trace (tcpdump) /
tcpDump?: boolean | undefined;
/* save response bodies for text resources /
saveResponseBodies?: boolean | undefined;
/* do not add PTST to the original browser User Agent string /
keepOriginalUserAgent?: boolean | undefined;
/* DOM element to record for sub-measurement /
domElement?: string | undefined;
/* minimum test duration in seconds /
minimumDuration?: number | undefined;
/* run the test on a specific PC (name must match exactly or the test will not run) /
tester?: string | undefined;
/* (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only) /
emulateMobile?: boolean | undefined;
/* capture Developer Tools Timeline (Chrome only) /
timeline?: boolean | undefined;
/* set between 1-5 to include the JS call stack. must be used in conjunction with timeline (increases overhead) (Chrome only) /
timelineCallStack?: boolean | undefined;
/* capture chrome trace (about://tracing) (Chrome only) /
chromeTrace?: boolean | undefined;
/* capture Network Log (Chrome only) /
netLog?: boolean | undefined;
/* enable data reduction on Chrome 34+ Android (Chrome only) /
dataReduction?: boolean | undefined;
/* custom user agent string (Chrome only) /
userAgent?: string | undefined;
/* use a list of custom command line switches (Chrome only) /
commandLine?: string | undefined;
/* username for authenticating tests (http authentication) /
login?: string | undefined;
/* password for authenticating tests (http authentication) /
password?: string | undefined;
/* discard script and http headers in the result /
sensitive?: boolean | undefined;
/* disable saving of the http headers (as well as browser status messages and CPU utilization) /
disableHTTPHeaders?: boolean | undefined;
/* space-delimited list of urls to block (substring match) /
block?: string | undefined;
/* space-delimited list of domains to simulate failure by re-routing to blackhole.webpagetest.org to silently drop all requests /
spof?: string | undefined;
/* execute arbitrary JavaScript at the end of a test to collect custom metrics /
customMetrics?: string | undefined;
/* type of authentication: 0 = Basic, 1 = SNS [0] /
authenticationType?: number | undefined;
/* e-mail address to notify with the test results /
notifyEmail?: string | undefined;
/* URL to ping when the test is complete (the test ID will be passed as an “id” parameter) /
pingback?: string | undefined;
/* download bandwidth in Kbps (used when specifying a custom connectivity profile) /
bandwidthDown?: string | undefined;
/* upload bandwidth in Kbps (used when specifying a custom connectivity profile) /
bandwidthUp?: string | undefined;
/* first-hop Round Trip Time in ms (used when specifying a custom connectivity profile) /
latency?: string | undefined;
/* packet loss rate - percent of packets to drop (used when specifying a custom connectivity profile) /
packetLossRate?: number | undefined;
/* disable optimization checks (for faster testing) /
disableOptimization?: boolean | undefined;
/* disable screen shot capturing /
disableScreenshot?: boolean | undefined;
/* save a full-resolution version of the fully loaded screen shot as a PNG /
fullResolutionScreenshot?: boolean | undefined;
/* jpeg compression level (30-100) for the screen shots and video capture /
jpegQuality?: number | undefined;
/* store the video from the median run when capturing video is enabled /
medianVideo?: boolean | undefined;
/* save the content of only the base HTML response /
htmlBody?: boolean | undefined;
/* test name to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb) /
tsView?: string | undefined;
/* configs to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb) /
tsViewConfigs?: string | undefined;
/* string to hash test to a specific test agent. tester will be picked by index among available testers /
affinity?: string | undefined;
/* change test priority (0-9) [enforced by API key, otherwise 5] /
priority?: number | undefined;
/* block ads defined by http://adblockplus.org/
blockAds?: boolean | undefined;
/* capture video continuously (unstable/experimental, may cause tests to fail) /
continuousVideoCapture?: boolean | undefined;
/* force SPDY version 3 (Chrome only) /
forceSpdy3?: boolean | undefined;
/* force software rendering, disable GPU acceleration (Chrome only) /
forceSoftwareRendering?: boolean | undefined;
/* poll for results after test is scheduled at every seconds [5] /
pollResults?: number | undefined;
/* wait for test results informed by agent once complete listening on : [hostname:first port available above 8000] /
waitResults?: string | undefined;
/* timeout for polling and waiting results [no timeout] /
timeout?: number | undefined;
/* perform lighthouse test (Chrome only, Linux agent only) */
lighthouse?: boolean | undefined;
}