WebPagetest Forums
.har import? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: .har import? (/showthread.php?tid=282)



.har import? - p83822 - 06-30-2010 03:55 PM

Hi Pat

I need to graph some cell-phone .cap traces (a noddy copy of your Connection View)

I'd kind of intended to use .har (maybe extended) as a format to pass to the presentation layer as this format is/will be interchangable with Firebug, Fiddler and HttpWatch.

(Thus I'm hoping that parsing .cap traces will aid both functional debugging and perf optimisation...)

I did notice on one of your blogs that WPT .har import was something you were considering. Not wanting to write code that you'd write some 8 times better, are you still thinking of this?

BR

Neil


RE: .har import? - pmeenan - 07-01-2010 12:08 AM

Yes, I'll be looking to implement it probably in a few weeks after I finish implementing the site re-design. Are you doing the cap->har conversion?

Thanks,

-Pat


RE: .har import? - p83822 - 07-02-2010 09:09 PM

(07-01-2010 12:08 AM)pmeenan Wrote:  Yes, I'll be looking to implement it probably in a few weeks after I finish implementing the site re-design. Are you doing the cap->har conversion?

Thanks,

-Pat

Well, yes - but cheating. (Not intending to go anywaye near WireShark apis.) I'll be exporting a .cap as .xml and then it's just grunt coding.

Unless anyone has any thoughts?

N


RE: .har import? - pmeenan - 07-02-2010 09:40 PM

You don't need to use the wireshark API's to read a cap file. The file format itself is documented and it's a pretty easy format to read (though it is a binary format).


RE: .har import? - p83822 - 08-27-2010 06:05 PM

(07-02-2010 09:40 PM)pmeenan Wrote:  You don't need to use the wireshark API's to read a cap file. The file format itself is documented and it's a pretty easy format to read (though it is a binary format).

There's 'easy' and there's 'easy'. lol