-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.har
More file actions
124 lines (124 loc) · 3.29 KB
/
example.har
File metadata and controls
124 lines (124 loc) · 3.29 KB
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
{
"log": {
"version": "1.2",
"creator": {
"name": "HAR Example Generator",
"version": "1.0"
},
"entries": [
{
"request": {
"method": "GET",
"url": "https://example.com/index.html",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [],
"queryString": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"content": {
"size": 110,
"mimeType": "text/html",
"text": "<html><head><title>Test Page</title><link rel='stylesheet' href='style.css'></head><body><h1>Hello, World!</h1><img src='images/logo.png'></body></html>"
}
}
},
{
"request": {
"method": "GET",
"url": "https://example.com/style.css",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [],
"queryString": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"content": {
"size": 35,
"mimeType": "text/css",
"text": "body { font-family: sans-serif; }"
}
}
},
{
"request": {
"method": "GET",
"url": "https://example.com/images/logo.png",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [],
"queryString": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"content": {
"size": 68,
"mimeType": "image/png",
"encoding": "base64",
"text": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
}
}
},
{
"request": {
"method": "GET",
"url": "https://api.example.com/user?id=123&type=customer",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [],
"queryString": [
{ "name": "id", "value": "123" },
{ "name": "type", "value": "customer" }
],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"content": {
"size": 45,
"mimeType": "application/json",
"text": "{\"userId\": 123, \"name\": \"John Doe\", \"status\": \"active\"}"
}
}
},
{
"request": {
"method": "GET",
"url": "https://example.com/cached-resource.js",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [],
"queryString": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 304,
"statusText": "Not Modified",
"httpVersion": "HTTP/1.1",
"content": {
"size": 0,
"mimeType": "application/javascript"
}
}
}
]
}
}