Root Level (log Object)
log: Root object containing all captured data.
version: String - Version of the HAR specification.
creator: Object - Information about the tool that created the HAR file.
name: String - Name of the tool.
version: String - Version of the tool.
comment: String - A comment provided by the tool.
browser: Object - Information about the browser that recorded the HAR file.
name: String - Name of the browser.
version: String - Version of the browser.
comment: String - A comment provided by the browser.
pages: Array - List of objects representing individual pages visited.
Each page object typically includes:
startedDateTime: String - Date and time of when the page was
loaded.
id: String - Unique identifier for the page.
title: String - Title of the page.
pageTimings: Object - Timings related to page loading.
onContentLoad: Number - Timestamp when the page's
DOMContentLoaded event fired.
onLoad: Number - Timestamp when the page's load event fired.
comment: String - A comment provided for the page.
entries: Array - List of objects representing HTTP requests and responses.
Each entry object typically includes:
pageref: String - Reference to the id of the page this entry
belongs to.
startedDateTime: String - Date and time of when the request was
initiated.
time: Number - Total time taken for the request in milliseconds.
request: Object - Details of the HTTP request made.
method: String - HTTP method (GET, POST, etc.).
url: String - Requested URL.
httpVersion: String - HTTP version (e.g., "HTTP/1.1").
cookies: Array - List of objects representing HTTP cookies.
Each cookie object typically includes:
name: String - Name of the cookie.
value: String - Value of the cookie.
path: String - Path attribute of the cookie.
domain: String - Domain attribute of the cookie.
expires: String - Expiration date of the cookie.
httpOnly: Boolean - Indicates if the cookie is HTTP
only.
secure: Boolean - Indicates if the cookie is secure.
comment: String - A comment provided for the cookie.
headers: Array - List of objects representing HTTP headers.
Each header object typically includes:
name: String - Header name.
value: String - Header value.
comment: String - A comment provided for the header.
queryString: Array - List of objects representing query
parameters.
Each query parameter object typically includes:
name: String - Parameter name.
value: String - Parameter value.
comment: String - A comment provided for the parameter.
postData: Object - Details of the POST data if applicable.
mimeType: String - MIME type of the posted data.
params: Array - List of objects representing parameters.
Each parameter object typically includes:
name: String - Parameter name.
value: String - Parameter value.
fileName: String - File name associated with the
parameter.
contentType: String - Content type of the
parameter.
comment: String - A comment provided for the
parameter.
text: String - Raw text of the posted data.
comment: String - A comment provided for the POST data.
comment: String - A comment provided for the request.
response: Object - Details of the HTTP response received.
status: Number - HTTP status code (e.g., 200, 404).
statusText: String - Text description of the status code.
httpVersion: String - HTTP version (e.g., "HTTP/1.1").
cookies: Array - List of objects representing HTTP cookies
(similar structure as in request).
headers: Array - List of objects representing HTTP headers
(similar structure as in request).
content: Object - Details of the response content.
size: Number - Size of the content in bytes.
compression: Number - Compression value if content was
compressed.
mimeType: String - MIME type of the response content.
text: String - Raw text of the response content.
encoding: String - Encoding used for response content.
comment: String - A comment provided for the content.
redirectURL: String - URL to which the request was redirected
(if applicable).
headersSize: Number - Size of the headers in bytes.
bodySize: Number - Size of the response body in bytes.
comment: String - A comment provided for the response.
cache: Object - Information about caching of the response.
beforeRequest: Object - Details of cache before the request.
lastAccess: String - Timestamp of last access before the
request.
eTag: String - ETag value before the request.
hitCount: Number - Number of times accessed before the
request.
comment: String - A comment provided for cache before the
request.
afterRequest: Object - Details of cache after the request.
lastAccess: String - Timestamp of last access after the
request.
eTag: String - ETag value after the request.
hitCount: Number - Number of times accessed after the
request.
comment: String - A comment provided for cache after the
request.
comment: String - A comment provided for the cache.