You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***-Q, --datareduction**: enable data reduction on Chrome 34+ Android (Chrome only)
99
+
***-x, --useragent**_\<string\>_: custom user agent string (Chrome only)
100
+
***-X, --cmdline**_\<switches\>_: use a list of custom command line switches (Chrome only)
86
101
***-g, --login**_\<username\>_: username for authenticating tests (http authentication)
87
102
***-w, --password**_\<password\>_: password for authenticating tests (http authentication)
103
+
***-t, --sensitive**: discard script and http headers in the result
104
+
***-H, --noheaders**: disable saving of the http headers (as well as browser status messages and CPU utilization)
105
+
***-b, --block**_\<urls\>_: space-delimited list of urls to block (substring match)
106
+
***-Z, --spof**_\<domains\>_: space-delimited list of domains to simulate failure by re-routing to blackhole.webpagetest.org to silently drop all requests
107
+
***-c, --custom**_\<script\>_: execute arbitrary javascript at the end of a test to collect custom metrics
88
108
***-a, --authtype**_\<type\>_: type of authentication: 0 = Basic, 1 = SNS [0]
89
109
***-n, --notify**_\<e-mail\>_: e-mail address to notify with the test results
90
110
***-B, --pingback**_\<url\>_: URL to ping when the test is complete (the test ID will be passed as an "id" parameter)
91
111
***-D, --bwdown**_\<bandwidth\>_: download bandwidth in Kbps (used when specifying a custom connectivity profile)
92
112
***-U, --bwup**_\<bandwidth\>_: upload bandwidth in Kbps (used when specifying a custom connectivity profile)
93
113
***-Y, --latency**_\<time\>_: first-hop Round Trip Time in ms (used when specifying a custom connectivity profile)
94
114
***-P, --plr**_\<percentage\>_: packet loss rate - percent of packets to drop (used when specifying a custom connectivity profile)
***-R, --ignoressl**: ignore SSL certificate errors, e.g. name mismatch, self-signed certificates, etc
103
-
***-T, --standards**: forces all pages to load in standards mode (IE only)
104
-
***-O, --bodies**: save response bodies for text resources
105
-
***-K, --keepua**: do not add PTST to the original browser User Agent string
106
-
***-N, --duration**_\<seconds\>_: minimum test duration in seconds
107
-
***-A, --noads**: block ads defined by adblockrules.org
108
-
***-E, --aft**: (experimental) measure above-the-fold rendering time
109
-
***-Z, --spof**_\<domains\>_: space-delimited list of domains to simulate failure by re-routing to blackhole.webpagetest.org to silently drop all requests
119
+
***-A, --medianvideo**: store the video from the median run when capturing video is enabled
110
120
***--htmlbody**: save the content of only the base HTML response
111
-
***--continuous**: capture video continuously (unstable/experimental, may cause tests to fail)
112
-
***--clearcerts**: clear the OS certificate caches (causes IE to do OCSP/CRL checks during SSL negotiation if the certificates are not already cached)
113
-
***--medianvideo**: store the video from the median run when capturing video is enabled
114
121
***--tsview**_\<id\>_: test name to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb)
115
-
***-W, --mobile**: (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)
***-C, --spdy3**: force SPDY version 3 (Chrome only)
119
-
***-J, --swrender**: force software rendering, disable GPU acceleration (Chrome only)
120
-
***-Q, --noparser**: disable threaded HTML parser (Chrome only)
121
-
***-q, --spdynossl**: use SPDY without SSL (Chrome only)
122
-
***--datareduction**: enable data reduction on Chrome 34+ Android (Chrome only)
123
-
***--useragent**_\<string\>_: custom user agent string (Chrome only)
124
-
***--cmdline**_\<switches\>_: use a list of custom command line switches (Chrome only)
125
-
***--poll**_[interval]_: poll for results after test is scheduled at every \<interva\l> seconds [5]
126
-
***--wait**_[hostname:port]_: wait for test results informed by agent once complete listening on \<hostname\>:\<port\>[hostname:first port available above 8000]
122
+
***--affinity**_\<string\>_: string to hash test to a specific test agent. tester will be picked by index among available testers
123
+
***--noads**: block ads defined by adblockrules.org
124
+
***--continuous**: capture video continuously (unstable/experimental, may cause tests to fail)
125
+
***--spdy3**: force SPDY version 3 (Chrome only)
126
+
***--swrender**: force software rendering, disable GPU acceleration (Chrome only)
127
+
***--poll**_\<interval\>_: poll for results after test is scheduled at every <interval> seconds [5]
128
+
***--wait**_\<hostname:port\>_: wait for test results informed by agent once complete listening on <hostname>:<port> [hostname:first port available above 8000]
127
129
***--timeout**_\<seconds\>_: timeout for polling and waiting results [no timeout]
128
130
129
131
#### API Key (works for **test** and **cancel** commands)
@@ -141,7 +143,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
141
143
***-S, --specs**_\<json_or_file\>_: set the specs for performance test suite
142
144
***-r, --reporter**_\<name\>_: set performance test suite reporter output: [dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
143
145
144
-
#### Run (works for **pagespeed**, **utilization**, **request**, **timeline**, **netlog**, **console**, **googlecsi**, **response**, **waterfall** and **screenshot** commands)
146
+
#### Run (works for **pagespeed**, **utilization**, **request**, **timeline**, **netlog**, **chrometrace**, **console**, **googlecsi**, **response**, **waterfall** and **screenshot** commands)
145
147
***-r, --run**_\<number\>_: which run number on a multiple runs test [1]
146
148
***-c, --cached**: get the Repeat View (cached view) instead of default First View (primed cache)
147
149
@@ -336,6 +338,7 @@ Methods and options (including the one letter shorthands) are the same when usin
***saveResponseBodies**: _Boolean_, save response bodies for text resources
412
+
***keepOriginalUserAgent**: _Boolean_, do not add PTST to the original browser User Agent string
402
413
***domElement**: _String_, DOM element to record for sub-measurement
403
-
***connections**: _Number_, override the number of concurrent connections
404
-
***stopAtDocumentComplete**: _Boolean_, force the test to stop at window.onload
405
-
***sensitive**: _Boolean_, discard script and http headers in the result
406
-
***block**: _[String]_, array of string of urls to block (substring match)
414
+
***minimumDuration**: _Number_, minimum test duration in seconds
415
+
***tester**: _String_, run the test on a specific PC (name must match exactly or the test will not run)
416
+
***emulateMobile**: _Boolean_, (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)
***timelineCallStack**: _Boolean_, set between 1-5 to include the JS call stack. must be used in conjunction with timeline (increases overhead) (Chrome only)
***ignoreSSL**: _Boolean_, ignore SSL certificate errors, e.g. name mismatch, self-signed certificates, etc
424
-
***disableCompatibilityView**: _Boolean_, forces all pages to load in standards mode (IE only)
425
-
***saveResponseBodies**: _Boolean_, save response bodies for text resources
426
-
***keepOriginalUserAgent**: _Boolean_, do not add PTST to the original browser User Agent string
427
-
***minimumDuration**: _String_, minimum test duration in seconds
428
-
***blockAds**: _Boolean_, block ads defined by adblockrules.org
429
-
***aftRenderingTime**: _Boolean_, (experimental) measure above-the-fold rendering time
430
-
***spof**: _[String]_, array of string of domains to simulate failure by re-routing to blackhole.webpagetest.org to silently drop all requests
431
-
***htmlBody**: _Boolean_, save the content of only the base HTML response
432
-
***continuous**: _Boolean_, capture video continuously (unstable/experimental, may cause tests to fail)
433
-
***clearCerts**: _Boolean_, clear the OS certificate caches (causes IE to do OCSP/CRL checks during SSL negotiation if the certificates are not already cached)
434
442
***medianVideo**: _Boolean_, store the video from the median run when capturing video is enabled
443
+
***htmlBody**: _Boolean_, save the content of only the base HTML response
435
444
***tsView**: _String_, test name to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb)
436
-
***emulateMobile**: _Boolean_, (experimental) emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)
***affinity**: _String_, string to hash test to a specific test agent. tester will be picked by index among available testers
446
+
***blockAds**: _Boolean_, block ads defined by adblockrules.org
447
+
***continuousVideoCapture**: _Boolean_, capture video continuously (unstable/experimental, may cause tests to fail)
439
448
***forceSpdy3**: _Boolean_, force SPDY version 3 (Chrome only)
440
449
***forceSoftwareRendering**: _Boolean_, force software rendering, disable GPU acceleration (Chrome only)
441
-
***disableThreadedParser**: _Boolean_, disable threaded HTML parser (Chrome only)
442
-
***spdyNoSSL**: _Boolean_, use SPDY without SSL (Chrome only)
443
-
***dataReduction**: _Boolean_, enable data reduction on Chrome 34+ Android (Chrome only)
444
-
***userAgent**: _String_, custom user agent string (Chrome only)
445
-
***commandLine**: _[String]_, use a list of custom command line switches (Chrome only)
446
450
***pollResults**: _Number_, poll for results after test is scheduled at every <interval> seconds [5]
447
451
***waitResults**: _String_, wait for test results informed by agent once complete listening on <hostname>:<port> [hostname:first port available above 8000]
448
-
***timeout**: _Number_, timeout (in seconds) for pollResults and waitResults[no timeout]
452
+
***timeout**: _String_, timeout for polling and waiting results[no timeout]
449
453
450
-
#### API Key (works for **runTest** and **cancelTest** methods)
454
+
#### API Key (works for `runTest` and `cancelTest` methods)
451
455
***key**: _String_, API key (if assigned). Contact the WebPageTest server administrator for a key if required
452
456
453
-
#### Request (works for **getTestStatus**, **getResults**, **getLocations**, **getTesters** and **runTest** methods)
457
+
#### Request (works for `getTestStatus``getResults``getLocations``getTesters` and `runTest` methods)
454
458
***requestId**: _String_, echo request ID, useful to track asynchronous requests
455
459
456
-
#### Results (works for **getResults** and **runTest** methods)
460
+
#### Results (works for `getResults` and `runTest` methods)
457
461
***breakDown**: _Boolean_, include the breakdown of requests and bytes by mime type
458
462
***domains**: _Boolean_, include the breakdown of requests and bytes by domain
459
463
***pageSpeed**: _Boolean_, include the PageSpeed score in the response (may be slower)
0 commit comments