Advertisement
Guest User

settings

a guest
Apr 17th, 2019
685
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [settings]
  2. product=WebPagetest
  3.  
  4. ; **************
  5. ; UI Integration
  6. ; **************
  7.  
  8. ; Comment out the publishTo if you do not want to be able to upload your
  9. ; results to the public instance (this is useful for sharing internal tests
  10. ; with external users)
  11. publishTo=www.webpagetest.org
  12.  
  13. ;Uncomment map=1 if you want to enable the map-based picker
  14. ;map=1
  15.  
  16. ; Log in with Google
  17. ;google_oauth_client_id=<client ID>
  18. ;google_oauth_client_secret=<secret>
  19.  
  20. ; Uncomment to enable drawing of vertical lines in the waterfalls for all user timing marks
  21. ;waterfall_show_user_timing=1
  22.  
  23. ; Comment-out to use classic-colored waterfalls as the default
  24. mime_waterfalls=1
  25.  
  26. ; Uncomment to disable the testlog in the UI
  27. ;disableTestlog=1
  28.  
  29. ; *********************
  30. ; Test options/defaults
  31. ; *********************
  32.  
  33. enableVideo=1
  34.  
  35. ;Full Size Video capturing - enabled (1) or disable (0)
  36. fullSizeVideoOn=1
  37. ;Full Size Video - default checkbox state - ticked (1) or unticked (0)
  38. fullSizeVideoDefault=0
  39.  
  40. ; Run tests concurrently across test machines
  41. ;shard_tests=1
  42.  
  43. ; Maximum number of runs allowed per test
  44. maxruns=9
  45.  
  46. ; Maximum amount of time for a test run (if requested by timeout=X)
  47. maxtime=600
  48.  
  49. ; Maximum server load to allow when rendering video on the server
  50. render_max_load=8
  51.  
  52. ; Allow (1) or disable (0) testing of sites on private IP addresses (http://192.168.0.1/ for example).
  53. allowPrivate=1
  54.  
  55. ; Allow (1) or disallow (0) non fully qualified domain names for URL hostnames (commonly found on private intranets)
  56. allowNonFQDN=1
  57.  
  58. ; image quality (defaults to 30)
  59. ;iq=75
  60.  
  61. ;save png full-resolution screen shots
  62. ;pngss=1
  63.  
  64. ;Software identification string to include in the user agent string of tests
  65. ;UAModifier=PTST
  66.  
  67. ; Default browser dimensions if not specified as part of a test.
  68. ; Defaults to the agent default if not specified (1024x768 usually).
  69. ;default_browser_size=1024x768
  70.  
  71. ; Enables trace and pcap processing directly on the test agents.
  72. enable_agent_processing=1
  73.  
  74. ; Sets the maximum number of navigates in a script
  75. maxNavigateCount=20
  76.  
  77. ; Selects the metric to use for the median run (defaults to loadTime)
  78. medianMetric=SpeedIndex
  79.  
  80. ; Block domains from all tests (space-delimited list)
  81. ;blockDomains=ctldl.windowsupdate.com
  82.  
  83. ; *************
  84. ; Server Config
  85. ; *************
  86.  
  87. ; Host name to use for URLs when it can not be automatically detected.
  88. ; This is mostly for auto-scaling EC2 instances to tell the agents what server to connect to
  89. ;host=www.webpagetest.org
  90.  
  91. ; Base URI to use for loopback requests (background processing, video creation, etc).
  92. ; This is mostly used when the pages are behind authentication and need another path
  93. ; for processing background tasks.
  94. local_server=http://127.0.0.1
  95.  
  96. ; Default API key to use across all locations
  97. location_key=bYCrKRqH5uEsf8LshBqYKOA2lWkN0o3A
  98.  
  99. ; disable gzip compressing the result text files
  100. ;nogzip=1
  101.  
  102. ;Log tests that take longer than X seconds
  103. ;slow_test_time=240
  104.  
  105. ; beanstalkd memory queue for tests (only the default 11300 port is supported right now)
  106. ; This is the legacy mode used to apply beanstalkd to all work queues unilaterally
  107. ;beanstalkd=127.0.0.1
  108.  
  109. ; beanstalkd memory queue config (for locations configured to use it and for messaging queues)
  110. ;queue=beanstalk
  111. ;beanstalkAddr=127.0.0.1
  112. ;beanstalkPort=11300
  113.  
  114.  
  115. ; Use beanstalkd only for low-priority tests and use traditional work queues for high-priority.
  116. ; The benefit of this is that interactive tests will still get queue position while still
  117. ; scaling for huge numbers of API tests.
  118. ;beanstalk_api_only=0
  119.  
  120. ; Automatically update from git hourly.
  121. ; (assumes a git clone and just runs "git pull origin release" as the web user).
  122. gitUpdate=1
  123.  
  124. ; Automatically update test agents hourly (pulls the latest test agents from the provided server)
  125. ;agentUpdate=http://cdn.webpagetest.org/
  126.  
  127. ; If an android device is connected to the server, scrape updated APK's off of the
  128. ; device to be installed on the test agents automatically (for cases where
  129. ; play auto-updating doesn't work - i.e. reverse-tethered devices)
  130. ;apkPackages=com.android.chrome,com.chrome.dev,com.chrome.beta
  131.  
  132.  
  133. ; For multi-server installs, an ID that gets added to the test ID for server affinity.
  134. ; Must be alpha-numeric and will end up as part of the hash string in the test ID:
  135. ; YYMMDD_<serverID>hash_xxx
  136. ;serverID=A
  137.  
  138. ; For basic authentication with WPT server
  139. ;ba_username=username
  140. ;ba_password=password
  141. ;validcertificate=1
  142.  
  143. ; For integration with invisible reCAPTCHA
  144. ;recaptcha_site_key=
  145. ;recaptcha_secret_key=
  146.  
  147.  
  148. ; ***********************
  149. ; Test result integration
  150. ; ***********************
  151.  
  152. ;tsview time-series database
  153. ;tsviewdb=http://<server:port>/src/v1/
  154.  
  155.  
  156. ; Publish test results to a StatsD backend
  157. ; for trend visualization.
  158. ;
  159. ; statsdHost - StatsD hostname.
  160. ; statsdPort - StatsD port number (default: 8125).
  161. ; statsdPrefix - Graphite key prefix (default: '').
  162. ; statsdPattern - Set to a valid regexp pattern to send only matching tests labels.
  163. ; statsdCleanPattern - Set to 1 to exclude pattern from label (default: 0).
  164. ; statsdMedianOnly - Set to 1 to send only median tests to StatsD. (default: 0).
  165. ;
  166. ;statsdHost=127.0.0.1
  167. ;statsdPort=8125
  168. ;statsdPrefix=webpagetest
  169. ;statsdPattern=^cron_
  170. ;statsdCleanPattern=0
  171. ;statsdMedianOnly=0
  172.  
  173. ; Serialize the test results to a log file in JSON format for
  174. ; bulk logs processing (splunk, logster, flume, etc).
  175. ; The directories must already exist and have permissions set so the web server
  176. ; user can write to it.
  177. ;
  178. ; logTestResults - file for the page-level data to be logged
  179. ; logTestRequests - file for the per-request data (each request for every test will be logged as a separate record)
  180. ; logPrivateTests - Set to 0 to disable logging of tests marked private (defaults to logging all tests)
  181. ;
  182. ;logTestResults=/var/log/webpagetest/page_data.log
  183. ;logTestRequests=/var/log/webpagetest/requests.log
  184. ;logPrivateTests=0
  185.  
  186. ; **************
  187. ; Test Archiving
  188. ; **************
  189.  
  190. ; archiving to local storage
  191. ; archive_dir - directory to archive test files (must include trailing slash)
  192. ; archive_kept_days - The tests in archive_dir that are more than archive_kept_days
  193. ;           days older will be deleted. If archive_kept_days is not defined, archived
  194. ;           tests will be kept forever.
  195. ; archive_dir=/data/archive/
  196. ; archive_kept_days=365
  197.  
  198. ; archiving to s3 (using the s3 protocol, not necessarily just s3)
  199. ;archive_s3_server=s3.amazonaws.com
  200. ;archive_s3_key=<access key>
  201. ;archive_s3_secret=<secret>
  202. ;archive_s3_bucket=<bucket>
  203. ;archive_s3_url=http://s3.amazonaws.com/
  204.  
  205. ; s3 url style - valid options are 'vhost' or 'path'. The default is 'vhost'
  206. ; example of s3 url styles:
  207. ;   - vhost: http://<bucket>.<s3_server>/object
  208. ;   - path: http://<s3_server>/<bucket>/object
  209. ;archive_s3_urlstyle=vhost
  210.  
  211. ;Number of days to keep tests locally before archiving
  212. ;archive_days=2
  213.  
  214. ;Run archive script hourly automatically as agents poll for work
  215. cron_archive=1
  216.  
  217. ; *************
  218. ; EC2 Instances
  219. ; *************
  220.  
  221. ; Use if the server will be auto-starting/stopping EC2 test agents
  222. ;ec2_key=<access key>
  223. ;ec2_secret=<secret>
  224.  
  225. ; EC2 default instance size (defaults to m3.medium, c4.large is recommended).
  226. ; Can be overridden in locations.ini for individual locations.
  227. ;ec2_instance_size=c4.large
  228.  
  229. ; Should we automatically delete any EBS volumes marked as "available"?
  230. ; This can be used to prevent orphaned volumes but only if the account
  231. ; doesn't expect to keep offline EBS volumes.
  232. ;ec2_prune_volumes=1
  233.  
  234. ; Start an EC2 instance for every X tests in the queue (up to the location max)
  235. ;EC2.ScaleFactor=100
  236.  
  237. ; Pass the private IP address of the server through user-data for auto-launch agents instead of public EIP
  238. ;ec2_use_server_private_ip=1
  239.  
  240. ; !!! ONLY SET THIS FOR LINUX AGENTS !!!
  241. ;
  242. ; Number of minutes to let an instance run idle before terminating.  This
  243. ; is only helpful for Linux agents, where EC2 gets billed per second, with a
  244. ; minimum of 60 seconds.
  245. ; https://aws.amazon.com/about-aws/whats-new/2017/10/announcing-amazon-ec2-per-second-billing/
  246. ;
  247. ; Be careful, it is possible to set this too low.  It needs to be longer than
  248. ; the time it takes for AWS to spin up a new instance and wptagent to start
  249. ; processing tests.
  250. ;
  251. ; Windows is still billed hourly.  Do not set this if you are using Windows
  252. ; agents.
  253. ;EC2.IdleTerminateMinutes=15
  254.  
  255. ; Default location when using EC2 auto-scaling - this setting is required for auto-scaling
  256. ;EC2.default=us-east-1
  257.  
  258. ; Per-location minimum and maximum EC2 instance counts.
  259. ; By default the minimum will be 0 and the maximum will be 1.
  260. ; This needs to be specified for every location where you want
  261. ; different settings (EC2.<location>.min/max).
  262. ; Don't forget to also set the EC2.default region to enable auto-scaling.
  263. ;EC2.us-east-1.min=0
  264. ;EC2.us-east-1.max=1
  265.  
  266. ; Per-location Security Group and Subnet IDs to enable launching into VPCs
  267. ; (note that this will pin your instances to the availability zone associated with
  268. ; the subnet). This is required only if you do not have a default VPC.
  269. ;EC2.us-west-2.securityGroup=sg-a0011b223,sg-b1122c334
  270. ;EC2.us-west-2.subnetId=subnet-aaa0011bc1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement