forked from nowol79/webpagetest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.ini
193 lines (148 loc) · 6.16 KB
/
settings.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
[settings]
product=WebPagetest Private Instance
contact=yunkyung@gmail.com
; **************
; UI Integration
; **************
; Comment out the publishTo if you do not want to be able to upload your
; results to the public instance (this is useful for sharing internal tests
; with external users)
publishTo=www.webpagetest.org
;Uncomment map=1 if you want to enable the map-based picker
;map=1
; Integrate with cloudshark
tcpdump_view="http://cloudshark.org/view?url="
; Log in with Google
;google_oauth_client_id=<client ID>
;google_oauth_client_secret=<secret>
; *********************
; Test options/defaults
; *********************
enableVideo=1
;Full Size Video capturing - enabled (1) or disable (0)
fullSizeVideoOn=1
;Full Size Video - default checkbox state - ticked (1) or unticked (0)
fullSizeVideoDefault=0
; Run tests concurrently across test machines
;shard_tests=1
; Maximum number of runs allowed per test
maxruns=9
; Maximum amount of time for a test run (if requested by timeout=X)
maxtime=600
; Maximum server load to allow when rendering video on the server
render_max_load=8
; Allow (1) or disable (0) testing of sites on private IP addresses (http://192.168.0.1/ for example).
allowPrivate=1
; image quality (defaults to 30)
;iq=75
;save png full-resolution screen shots
;pngss=1
;Software identification string to include in the user agent string of tests
;UAModifier=PTST
; *************
; Server Config
; *************
; Host name to use for URLs when it can not be automatically detected.
; This is mostly for auto-scaling EC2 instances to tell the agents what server to connect to
;host=www.webpagetest.org
; Base URI to use for loopback requests (background processing, video creation, etc).
; This is mostly used when the pages are behind authentication and need another path
; for processing background tasks.
;local_server=http://127.0.0.1
; disable gzip compressing the result text files
;nogzip=1
;Log tests that take longer than X seconds
;slow_test_time=240
; beanstalkd memory queue for tests (only the default 11300 port is supported right now)
;beanstalkd=127.0.0.1
; Use beanstalkd only for low-priority tests and use traditional work queues for high-priority.
; The benefit of this is that interactive tests will still get queue position while still
; scaling for huge numbers of API tests.
;beanstalk_api_only=0
; Automatically update from git hourly.
; (assumes a git clone and just runs "git pull origin master" as the web user).
;gitUpdate=1
; Automatically update test agents hourly (pulls the latest test agents from the provided server)
;agentUpdate=http://cdn.webpagetest.org/
; For multi-server installs, an ID that gets added to the test ID for server affinity.
; Must be alpha-numeric and will end up as part of the hash string in the test ID:
; YYMMDD_<serverID>hash_xxx
;serverID=A
; ***********************
; Test result integration
; ***********************
;tsview time-series database
;tsviewdb=http://<server:port>/src/v1/
; Publish test results to a StatsD backend
; for trend visualization.
;
; statsdHost - StatsD hostname.
; statsdPort - StatsD port number (default: 8125).
; statsdPrefix - Graphite key prefix (default: '').
; statsdPattern - Set to a valid regexp pattern to send only matching tests labels.
; statsdCleanPattern - Set to 1 to exclude pattern from label (default: 0).
; statsdMedianOnly - Set to 1 to send only median tests to StatsD. (default: 0).
;
;statsdHost=127.0.0.1
;statsdPort=8125
;statsdPrefix=webpagetest
;statsdPattern=^cron_
;statsdCleanPattern=0
;statsdMedianOnly=0
; Serialize the test results to a log file in JSON format for
; bulk logs processing (splunk, logster, flume, etc).
; The directories must already exist and have permissions set so the web server
; user can write to it.
;
; logTestResults - file for the page-level data to be logged
; logTestRequests - file for the per-request data (each request for every test will be logged as a separate record)
; logPrivateTests - Set to 0 to disable logging of tests marked private (defaults to logging all tests)
;
logTestResults=/var/log/webpagetest/page_data.log
logTestRequests=/var/log/webpagetest/requests.log
logPrivateTests=0
;
; showslow (beacon rate is a percent of results to allow for sampling)
;
;showslow=http://www.showslow.com
;beaconRate=100
;showslow_key=<your showslow API key>
; **************
; Test Archiving
; **************
; archiving to local storage - directory to archive test files (must include trailing slash)
;archive_dir=/data/archive/
; archiving to s3 (using the s3 protocol, not necessarily just s3)
;archive_s3_server=s3.amazonaws.com
;archive_s3_key=<access key>
;archive_s3_secret=<secret>
;archive_s3_bucket=<bucket>
;archive_s3_url=http://s3.amazonaws.com/
;Number of days to keep tests locally before archiving
;archive_days=2
; *************
; EC2 Instances
; *************
; Use if the server will be auto-starting/stopping EC2 test agents
;ec2_key=<access key>
;ec2_secret=<secret>
; Should we automatically delete any EBS volumes marked as "available"?
; This can be used to prevent orphaned volumes but only if the account
; doesn't expect to keep offline EBS volumes.
;ec2_prune_volumes=1
; Start an EC2 instance for every X tests in the queue (up to the location max)
;EC2.ScaleFactor=100
; Default location when using EC2 auto-scaling - this setting is required for auto-scaling
;EC2.default=us-east-1
; Per-location minimum and maximum EC2 instance counts.
; By default the minimum will be 0 and the maximum will be 1.
; This needs to be specified for every location where you want
; different settings (EC2.<location>.min/max).
; Don't forget to also set the EC2.default region to enable auto-scaling.
;EC2.us-east-1.min=0
;EC2.us-east-1.max=1
; Per-location Security Group and Subnet IDs to enable launching into VPCs
; (note that this will pin your instances to the availability zone associated with
; the subnet). This is required only if you do not have a default VPC.
;EC2.us-west-2.securityGroup=sg-a0011b223,sg-b1122c334
;EC2.us-west-2.subnetId=subnet-aaa0011bc1