HAR-Viewer

135 views
Skip to first unread message

rfc791

unread,
Jan 26, 2012, 12:42:09 PM1/26/12
to pcap2har
So the tool works to create the HAR file but I am having issues
getting it to work in HAR Viewer. From what I can see HAR Viewer is
the only tool that reads HAR files. So I trying to get an idea of
what I am doing wrong.

I converted a pcap file and also tried using some out of the tests
directory but none worked with HAR Viewer.

I am getting "Sum of request timings doesn't correspond to the total
value......"

I also tried http://pcapperf.appspot.com/ and the same pcap file
works fine. I downloaded the HAR file and it is different then then
one I created.

Libo Song

unread,
Jan 26, 2012, 12:48:41 PM1/26/12
to pcap...@googlegroups.com
pcapperf.appspot.com forked and modified the original pcap2har code.
Thus, there may be some disparity between the resulted HAR.

Andrew Fleenor

unread,
Jan 28, 2012, 7:02:10 PM1/28/12
to pcap...@googlegroups.com
Interesting. After a little debugging with my test pcaps, it looks like,
when the issue arises, the sum of the individual timing components is
exactly 1 less than the total time. This might be a floating point
truncation issue, since pcap timestamps are floats and I convert them
to integer millisecond measurements before storing them. I'll look into it.

As a workaround, besides using pcapperf, you can disable the
"Validate data before processing" box on the HAR viewer.

Reply all
Reply to author
Forward
0 new messages