-
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
HAR converter batches dependent requests #808
Comments
Ah, I'd say that the generated script from the HAR file is wrong in this case, not the k6 execution or So it's somewhat normal for the second request in a batch call to be executed slightly ahead of the first one, that's just due to the concurrent nature of the execution. The bug is in the k6 converter that didn't separate the two... |
You can manually edit the script so that the first request is a separate Connected issue: https://github.com/loadimpact/k6/issues/762 |
The k6 convert command has been deprecated and will be removed in the future #3365. Use https://github.com/grafana/har-to-k6 as a better alternative. The linked issue already tracks the improvements required to address this issue. Feel free to open a new issue there if you want to provide more details or specific proposals. |
I recorded a web browser session to http://www.microsoft.com, saved the session as HAR file and converted the file to JavaScript for replaying. A look into the generated code shows that the recording and the conversion worked well (see below): I open http://www.microsoft.com/ and I'm redirected to https://www.microsoft.com/de-de/
But the HTTP debug output shows the requests out of order - first "GET /de-de/", then "GET /".
Obviously that would make any real debugging via ``http-debug` impossible.
The text was updated successfully, but these errors were encountered: