how to disable PageTracker() ?

11 views
Skip to first unread message

sajal

unread,
Mar 11, 2011, 2:37:14 PM3/11/11
to pcap2har
Hi,

Just discovered pcap2har today, and it feels good fit for something
ive been thinking off. Awesome job!

How to not use the PageTracker() feature?

The generated har shows 4 "pages" or more, depending on the file. I am
sure those objects are within a single pageload... Is there a way to
make pcap2har believe that everything in my cap file belongs to a
single pageload?

FYI:-
original pcap file : http://www.sajalkayan.com/tests/4.cap
resulting .har file : http://www.sajalkayan.com/tests/4.har

The .cap file was generated using webpagetest.org's 'Capture network
packet trace (tcpdump)' feature.

PS: I also got an import error for dpkt when trying to run pcap2har
which was resolved by downloading from http://code.google.com/p/dpkt/

-Sajal

Libo Song

unread,
Mar 11, 2011, 3:13:09 PM3/11/11
to pcap...@googlegroups.com, sajal
We have a fork of pcap2har that removes the PageTracker,
and there are other changes for our need.
You can take a look at http://code.google.com/p/pcaphar/

-Libo

Andrew Fleenor

unread,
Mar 13, 2011, 1:25:09 AM3/13/11
to pcap...@googlegroups.com
Try the latest version with the option --no-pages, which should completely turn off page separation. I just pushed it now. It works for me on your pcap. Please let me know about any problems.

sajal

unread,
Mar 13, 2011, 10:15:56 AM3/13/11
to pcap2har
thanks. works like a charm

On Mar 13, 1:25 pm, Andrew Fleenor <andrewf...@gmail.com> wrote:
> Try the latest version with the option --no-pages, which should completely
> turn off page separation. I just pushed it now. It works for me on your
> pcap. Please let me know about any problems.
>

Andrew Fleenor

unread,
Mar 13, 2011, 7:18:26 PM3/13/11
to pcap...@googlegroups.com
Cool. Thanks for using it.
Reply all
Reply to author
Forward
0 new messages