Skip to content

Commit

Permalink
#162 add more test sample HARs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mrowetz committed Feb 25, 2017
1 parent a25a08e commit 41df3ce
Show file tree
Hide file tree
Showing 2 changed files with 299 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test-data/browsertime_sitespeed.io.har

Large diffs are not rendered by default.

298 changes: 298 additions & 0 deletions src/test-data/capture-har_cnn.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,298 @@
{
"log": {

"version": "1.2",

"creator": {
"name": "capture-har",
"version": "0.3.2"
},

"entries": [
{
"startedDateTime": "2017-02-23T16:25:18.141Z",
"time": 6.291975,
"request": {
"method": "GET",
"url": "http://cnn.com/",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [
{
"name": "host",
"value": "cnn.com"
},
{
"name": "user-agent",
"value": "woobot/2.0"
},
{
"name": "connection",
"value": "close"
},
{
"name": "accept",
"value": "*/*"
},
{
"name": "accept-encoding",
"value": "gzip, deflate"
}
],
"queryString": [],
"headersSize": -1,
"bodySize": -1
},
"response": {
"status": 301,
"statusText": "Moved Permanently",
"httpVersion": "HTTP/1.1",
"cookies": [
{
"name": "countryCode",
"value": "US",
"httpOnly": false,
"secure": false,
"path": "/",
"domain": "cnn.com"
},
{
"name": "geoData",
"value": "Ashburn|VA|20149|US|NA",
"httpOnly": false,
"secure": false,
"path": "/",
"domain": "cnn.com"
}
],
"headers": [
{
"name": "server",
"value": "Varnish"
},
{
"name": "retry-after",
"value": "0"
},
{
"name": "content-length",
"value": "0"
},
{
"name": "location",
"value": "http://www.cnn.com/"
},
{
"name": "accept-ranges",
"value": "bytes"
},
{
"name": "date",
"value": "Thu, 23 Feb 2017 16:25:18 GMT"
},
{
"name": "via",
"value": "1.1 varnish"
},
{
"name": "connection",
"value": "close"
},
{
"name": "set-cookie",
"value": "countryCode=US; Domain=.cnn.com; Path=/"
},
{
"name": "set-cookie",
"value": "geoData=Ashburn|VA|20149|US|NA; Domain=.cnn.com; Path=/"
},
{
"name": "x-served-by",
"value": "cache-iad2144-IAD"
},
{
"name": "x-cache",
"value": "HIT"
},
{
"name": "x-cache-hits",
"value": "0"
}
],
"content": {
"size": 0,
"mimeType": "x-unknown"
},
"redirectURL": "http://www.cnn.com/",
"headersSize": -1,
"bodySize": -1,
"_remoteAddress": "151.101.64.73"
},
"cache": {},
"timings": {
"send": 0,
"receive": 0,
"wait": 6.291975
}
},
{
"startedDateTime": "2017-02-23T16:25:18.148Z",
"time": 8.169024,
"request": {
"method": "GET",
"url": "http://www.cnn.com/",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [
{
"name": "host",
"value": "www.cnn.com"
},
{
"name": "user-agent",
"value": "woobot/2.0"
},
{
"name": "connection",
"value": "close"
},
{
"name": "accept",
"value": "*/*"
},
{
"name": "accept-encoding",
"value": "gzip, deflate"
}
],
"queryString": [],
"headersSize": -1,
"bodySize": -1
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"cookies": [
{
"name": "countryCode",
"value": "US",
"httpOnly": false,
"secure": false,
"path": "/",
"domain": "cnn.com"
},
{
"name": "geoData",
"value": "Ashburn|VA|20149|US|NA",
"httpOnly": false,
"secure": false,
"path": "/",
"domain": "cnn.com"
}
],
"headers": [
{
"name": "access-control-allow-origin",
"value": "*"
},
{
"name": "cache-control",
"value": "max-age=60"
},
{
"name": "content-encoding",
"value": "gzip"
},
{
"name": "content-security-policy",
"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' *;"
},
{
"name": "content-type",
"value": "text/html; charset=utf-8"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "x-servedbyhost",
"value": "::ffff:10.61.5.146"
},
{
"name": "x-xss-protection",
"value": "1; mode=block"
},
{
"name": "content-length",
"value": "27472"
},
{
"name": "accept-ranges",
"value": "bytes"
},
{
"name": "date",
"value": "Thu, 23 Feb 2017 16:25:18 GMT"
},
{
"name": "via",
"value": "1.1 varnish"
},
{
"name": "age",
"value": "64"
},
{
"name": "connection",
"value": "close"
},
{
"name": "set-cookie",
"value": "countryCode=US; Domain=.cnn.com; Path=/"
},
{
"name": "set-cookie",
"value": "geoData=Ashburn|VA|20149|US|NA; Domain=.cnn.com; Path=/"
},
{
"name": "x-served-by",
"value": "cache-iad2146-IAD"
},
{
"name": "x-cache",
"value": "HIT"
},
{
"name": "x-cache-hits",
"value": "82"
},
{
"name": "x-timer",
"value": "S1487867118.152458,VS0,VE0"
},
{
"name": "vary",
"value": "Accept-Encoding"
}
],
"content": {
"size": 129461,
"mimeType": "text/html"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
"_remoteAddress": "151.101.32.73"
},
"cache": {},
"timings": {
"send": 0,
"receive": 0,
"wait": 8.169024
}
}
]
}
}

0 comments on commit 41df3ce

Please sign in to comment.