-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot covert a Charles proxy HAR file into a script #793
Comments
Confirmed, this is a bug - seems like the k6 HAR converter assumes that there's a Until we fix this (probably together with the rest of the several HAR converter improvement we want to make and issues we have to fix), you can work around the problem by manually editing the {
"log": {
"version": "1.2",
"creator": {
"name": "Charles Proxy",
"version": "4.2.7"
},
"pages": [
{
"id": "",
"title": "dummy"
}
],
"entries": [
/* ... */
]
}
} |
Workaround works perfectly, thanks :) |
Received another issue about this (non-Charles Proxy related), so I think we should fix it before 1.0. The quick fix should be easy enough, we can just officially use the minor hack I proposed as a workaround - inserting a placeholder element in |
This is a hacky and hopefully temporary fix so we can close #793
) This is a hacky and hopefully temporary fix so we can close #793
Looks like the HAR convertor does not work with har files saved from Charles proxy.
Added an example HTTP Archive and the script created by running the following command (both files in the attached zip):
example.zip
The text was updated successfully, but these errors were encountered: