Advertisement
Guest User

settings

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