-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 import fails silently #8500
HAR import fails silently #8500
Comments
Can you provide a sample HAR that reproduces the issue? This will most likely be addressed with zaproxy/zap-extensions#5250. |
Browser VersionsChromium (used to export HAR) 125.0.6422.112 (Official Build) snap (64-bit) Firefox (used to import HAR): 126.0 (64 bits), May 14th, via snap. HAR was done via Chromium, can be imported by it back or by newest Firefox. Will try to add a sample. |
Thanks @LIttleAncientForestKami I'd like to be sure that it succeeds with the changes I'm working on in zaproxy/zap-extensions#5250 |
Samplepeteris.rocks.har, obtained by visiting https://peteris.rocks/blog/htop/ with Chromium (and with Network tab opened in dev tools) OK, will need to post HAR file in some other manner as it doesn't allow it's upload saying it's unsupported file type. |
Change the extension to |
peteris.rocks.har.txt and thanks for lighning quick responses and navigation @thc202 |
This is great. Using the code in the PR.
|
Describe the bug
Possibly the fault might be in the underlying library but I also wish to point out that UI behaves as it nothing has happened. I did the import twice, for I initially thought that I have perhaps misclicked or something. Logs say that NPE happens. Not sure if this happens for every HAR file or just mine, but I tried a couple.
Steps to reproduce the behavior
Expected behavior
HAR files is imported or a clear error message tells me what's wrong and if I can do something about that HAR file to have it imported.
Software versions
ZAP 2.15.0, via snap list. zaproxy 2.15.0 32 latest/stable psiinon classic
Java, via java --version:
openjdk 11.0.12 2021-07-20
OpenJDK Runtime Environment 18.9 (build 11.0.12+7)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7, mixed mode)
Ubuntu via inxi:
Host: [redacted] Kernel: 6.5.0-35-generic x86_64 bits: 64
compiler: N/A Desktop: GNOME 42.9 (Wayland) tk: GTK 3.24.33 wm: gnome-shell
dm: GDM3 42.0 Distro: Ubuntu 22.04.4 LTS (Jammy Jellyfish)
Screenshots
No response
Errors from the zap.log file
Additional context
HAR was done via Chromium, can be imported by it back or by newest Firefox.
Would you like to help fix this issue?
The text was updated successfully, but these errors were encountered: