blob: 2faa442be51b5cb2c5ea89129c1fb35bd2c485a3 [file] [log] [blame]
Tests the nondeterministic bits of HAR conversion via the magic of hard-coded values.
Resource:{
request : {
headers : [
{
name : "Request"
value : "request-value"
}
]
headersSize : 72
headersText : "GET http://example.com/inspector-test.js HTTP/1.1\r\nRequest: headers-text"
}
response : {
headers : [
{
name : "Response"
value : "response-value"
}
]
headersSize : 39
headersText : "HTTP/1.1 200 OK\r\nResponse: headers-text"
resourceSize : 1000
transferSize : 539
}
}
HAR:{
_initiator : {
lineNumber : 117
type : "parser"
url : "http://example.com/inspector-test.js"
}
_priority : "VeryHigh"
_resourceType : "fetch"
cache : {
}
request : {
bodySize : 0
cookies : [
]
headers : [
{
name : "Request"
value : "request-value"
}
]
headersSize : 72
httpVersion : "HTTP/1.1"
method : "GET"
queryString : [
]
url : "http://example.com/inspector-test.js"
}
response : {
_transferSize : <number>
bodySize : 500
content : {
compression : 500
mimeType : "text/html"
size : 1000
}
cookies : [
]
headers : [
{
name : "Response"
value : "response-value"
}
]
headersSize : 39
httpVersion : "HTTP/1.1"
redirectURL : ""
status : 200
statusText : "OK"
}
serverIPAddress : ""
startedDateTime : <string>
time : <number>
timings : {
_blocked_proxy : 0.752
_blocked_queueing : 0.9689999860711396
blocked : 3.8059999860711398
connect : 229.12300000000002
dns : 84.076
receive : 5.23900002008304
send : 0.5549999999999784
ssl : 98.702
wait : 568.4820000130125
}
}