-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for aborted and timed out requests #12
Labels
bug
Something isn't working
Comments
Example of a timeout HAR entry from Chrome: {
"startedDateTime": "2019-07-30T02:05:45.342Z",
"time": 240.00864399999955,
"request": {
"method": "GET",
"url": "http:https://localhost:3000/timeout",
"httpVersion": "",
"headers": [
{
"name": "Referer",
"value": "http:https://localhost:3000/"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 0,
"statusText": "",
"httpVersion": "",
"headers": [],
"cookies": [],
"content": {
"size": 0,
"mimeType": "x-unknown"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
"_transferSize": 0,
"_error": "net::ERR_EMPTY_RESPONSE"
},
"cache": {},
"timings": {
"blocked": 240.00864399999955,
"dns": -1,
"ssl": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"_blocked_queueing": -1
},
"serverIPAddress": "",
"_initiator": {
"type": "parser",
"url": "http:https://localhost:3000/",
"lineNumber": 8
},
"_priority": "High",
"_resourceType": "image",
"pageref": "page_1"
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, if there is no response (for example, if the request is timed out or aborted), no entry will be added to the HAR log.
This means you get no visibility into these requests – you could see things long a long period of no network activity, and then a succesful retry request. But there actually was network activity, it was just a timed out request.
I'm not sure how aborted and timed out requests are represented in HAR files but will have to generate such requests in Chrome to find out.
The text was updated successfully, but these errors were encountered: