Skip to content

Commit 41df3ce

Browse files
author
Michael Mrowetz
committed
#162 add more test sample HARs
1 parent a25a08e commit 41df3ce

File tree

2 files changed

+299
-0
lines changed

2 files changed

+299
-0
lines changed

Diff for: src/test-data/browsertime_sitespeed.io.har

+1
Large diffs are not rendered by default.

Diff for: src/test-data/capture-har_cnn.har

+298
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,298 @@
1+
{
2+
"log": {
3+
4+
"version": "1.2",
5+
6+
"creator": {
7+
"name": "capture-har",
8+
"version": "0.3.2"
9+
},
10+
11+
"entries": [
12+
{
13+
"startedDateTime": "2017-02-23T16:25:18.141Z",
14+
"time": 6.291975,
15+
"request": {
16+
"method": "GET",
17+
"url": "http://cnn.com/",
18+
"httpVersion": "HTTP/1.1",
19+
"cookies": [],
20+
"headers": [
21+
{
22+
"name": "host",
23+
"value": "cnn.com"
24+
},
25+
{
26+
"name": "user-agent",
27+
"value": "woobot/2.0"
28+
},
29+
{
30+
"name": "connection",
31+
"value": "close"
32+
},
33+
{
34+
"name": "accept",
35+
"value": "*/*"
36+
},
37+
{
38+
"name": "accept-encoding",
39+
"value": "gzip, deflate"
40+
}
41+
],
42+
"queryString": [],
43+
"headersSize": -1,
44+
"bodySize": -1
45+
},
46+
"response": {
47+
"status": 301,
48+
"statusText": "Moved Permanently",
49+
"httpVersion": "HTTP/1.1",
50+
"cookies": [
51+
{
52+
"name": "countryCode",
53+
"value": "US",
54+
"httpOnly": false,
55+
"secure": false,
56+
"path": "/",
57+
"domain": "cnn.com"
58+
},
59+
{
60+
"name": "geoData",
61+
"value": "Ashburn|VA|20149|US|NA",
62+
"httpOnly": false,
63+
"secure": false,
64+
"path": "/",
65+
"domain": "cnn.com"
66+
}
67+
],
68+
"headers": [
69+
{
70+
"name": "server",
71+
"value": "Varnish"
72+
},
73+
{
74+
"name": "retry-after",
75+
"value": "0"
76+
},
77+
{
78+
"name": "content-length",
79+
"value": "0"
80+
},
81+
{
82+
"name": "location",
83+
"value": "http://www.cnn.com/"
84+
},
85+
{
86+
"name": "accept-ranges",
87+
"value": "bytes"
88+
},
89+
{
90+
"name": "date",
91+
"value": "Thu, 23 Feb 2017 16:25:18 GMT"
92+
},
93+
{
94+
"name": "via",
95+
"value": "1.1 varnish"
96+
},
97+
{
98+
"name": "connection",
99+
"value": "close"
100+
},
101+
{
102+
"name": "set-cookie",
103+
"value": "countryCode=US; Domain=.cnn.com; Path=/"
104+
},
105+
{
106+
"name": "set-cookie",
107+
"value": "geoData=Ashburn|VA|20149|US|NA; Domain=.cnn.com; Path=/"
108+
},
109+
{
110+
"name": "x-served-by",
111+
"value": "cache-iad2144-IAD"
112+
},
113+
{
114+
"name": "x-cache",
115+
"value": "HIT"
116+
},
117+
{
118+
"name": "x-cache-hits",
119+
"value": "0"
120+
}
121+
],
122+
"content": {
123+
"size": 0,
124+
"mimeType": "x-unknown"
125+
},
126+
"redirectURL": "http://www.cnn.com/",
127+
"headersSize": -1,
128+
"bodySize": -1,
129+
"_remoteAddress": "151.101.64.73"
130+
},
131+
"cache": {},
132+
"timings": {
133+
"send": 0,
134+
"receive": 0,
135+
"wait": 6.291975
136+
}
137+
},
138+
{
139+
"startedDateTime": "2017-02-23T16:25:18.148Z",
140+
"time": 8.169024,
141+
"request": {
142+
"method": "GET",
143+
"url": "http://www.cnn.com/",
144+
"httpVersion": "HTTP/1.1",
145+
"cookies": [],
146+
"headers": [
147+
{
148+
"name": "host",
149+
"value": "www.cnn.com"
150+
},
151+
{
152+
"name": "user-agent",
153+
"value": "woobot/2.0"
154+
},
155+
{
156+
"name": "connection",
157+
"value": "close"
158+
},
159+
{
160+
"name": "accept",
161+
"value": "*/*"
162+
},
163+
{
164+
"name": "accept-encoding",
165+
"value": "gzip, deflate"
166+
}
167+
],
168+
"queryString": [],
169+
"headersSize": -1,
170+
"bodySize": -1
171+
},
172+
"response": {
173+
"status": 200,
174+
"statusText": "OK",
175+
"httpVersion": "HTTP/1.1",
176+
"cookies": [
177+
{
178+
"name": "countryCode",
179+
"value": "US",
180+
"httpOnly": false,
181+
"secure": false,
182+
"path": "/",
183+
"domain": "cnn.com"
184+
},
185+
{
186+
"name": "geoData",
187+
"value": "Ashburn|VA|20149|US|NA",
188+
"httpOnly": false,
189+
"secure": false,
190+
"path": "/",
191+
"domain": "cnn.com"
192+
}
193+
],
194+
"headers": [
195+
{
196+
"name": "access-control-allow-origin",
197+
"value": "*"
198+
},
199+
{
200+
"name": "cache-control",
201+
"value": "max-age=60"
202+
},
203+
{
204+
"name": "content-encoding",
205+
"value": "gzip"
206+
},
207+
{
208+
"name": "content-security-policy",
209+
"value": "default-src 'self' blob: https://*.cnn.com:* http://*.cnn.com:* *.cnn.io:* *.cnn.net:* *.turner.com:* *.turner.io:* *.ugdturner.com:* *.vgtf.net:*; script-src 'unsafe-eval' 'unsafe-inline' 'self' *; style-src 'unsafe-inline' 'self' blob: *; child-src 'self' blob: *; frame-src 'self' *; object-src 'self' *; img-src 'self' data: blob: *; media-src 'self' blob: *; font-src 'self' data: *; connect-src 'self' *;"
210+
},
211+
{
212+
"name": "content-type",
213+
"value": "text/html; charset=utf-8"
214+
},
215+
{
216+
"name": "x-content-type-options",
217+
"value": "nosniff"
218+
},
219+
{
220+
"name": "x-servedbyhost",
221+
"value": "::ffff:10.61.5.146"
222+
},
223+
{
224+
"name": "x-xss-protection",
225+
"value": "1; mode=block"
226+
},
227+
{
228+
"name": "content-length",
229+
"value": "27472"
230+
},
231+
{
232+
"name": "accept-ranges",
233+
"value": "bytes"
234+
},
235+
{
236+
"name": "date",
237+
"value": "Thu, 23 Feb 2017 16:25:18 GMT"
238+
},
239+
{
240+
"name": "via",
241+
"value": "1.1 varnish"
242+
},
243+
{
244+
"name": "age",
245+
"value": "64"
246+
},
247+
{
248+
"name": "connection",
249+
"value": "close"
250+
},
251+
{
252+
"name": "set-cookie",
253+
"value": "countryCode=US; Domain=.cnn.com; Path=/"
254+
},
255+
{
256+
"name": "set-cookie",
257+
"value": "geoData=Ashburn|VA|20149|US|NA; Domain=.cnn.com; Path=/"
258+
},
259+
{
260+
"name": "x-served-by",
261+
"value": "cache-iad2146-IAD"
262+
},
263+
{
264+
"name": "x-cache",
265+
"value": "HIT"
266+
},
267+
{
268+
"name": "x-cache-hits",
269+
"value": "82"
270+
},
271+
{
272+
"name": "x-timer",
273+
"value": "S1487867118.152458,VS0,VE0"
274+
},
275+
{
276+
"name": "vary",
277+
"value": "Accept-Encoding"
278+
}
279+
],
280+
"content": {
281+
"size": 129461,
282+
"mimeType": "text/html"
283+
},
284+
"redirectURL": "",
285+
"headersSize": -1,
286+
"bodySize": -1,
287+
"_remoteAddress": "151.101.32.73"
288+
},
289+
"cache": {},
290+
"timings": {
291+
"send": 0,
292+
"receive": 0,
293+
"wait": 8.169024
294+
}
295+
}
296+
]
297+
}
298+
}

0 commit comments

Comments
 (0)