> The export is called upon an user action (clicking on 'export'). You
> need the netlistener only if you want to observer requests and be
> informed immediately as-it-happens.
>
> > I'm assuming I still need to have that, right? Or is just having the
> > FirebugContext enough to use this?
>
> Depends on what you want to do. If you want to take an action e.g.
> every time a request is started then yes, you need the listener.

I can't seem to find anything in the netlistener for a fully finished
page load. That's all I'm looking for; an event saying the page has
finished loading.  There's onResponseBody in netlistener but I have a
feeling that's for each individual request...and the documentation is
lacking again.

Should I just be accessing a context then? Is there any documentation
on working with those? Or do I have to manually compute the amount of
requests and download/cache sizes?

Michele

>
>
>
> > NetExporter won't work for me, as I'm running automated tests that
> > (hopefully will) export this information into a db via a file on my
> > localhost; having hundreds of .har files created doesn't seem the
> > right way to go in this case, and I'd like to keep the amount of
> > information that needs to be processed to a minimum.
>
> > I have lots of questions...there really hasn't been any documentation
> > on doing something like this.
>
> > Thanks,
> > Michele
>
> > On Mar 6, 2:43 am, "Honza (Jan Odvarko)" <[email protected]> wrote:
>
> > > On Mar 5, 5:54 pm, Michele <[email protected]> wrote:> I'm 
> > > creating a small extension to help with some site optimization I'm
> > > > doing at work. I've got the basics of NetListeners 
> > > > fromhttp://www.softwareishard.com/blog/firebug-tutorial/extending-firebug...
> > > > but I need some slightly different functionality, and so far I haven't
> > > > found any documentation. I just need to get a few pieces of
> > > > information from netlistener, mainly the overall number of requests,
> > > > load time, onload time, download size and cache size, and then post it
> > > > using json to a file on my localhost.
>
> > > You can take a look at NetExport extension that is exporting data
> > > collected by the Net 
> > > panel.http://code.google.com/p/fbug/source/browse/#svn%2Fnetexport%2Fbranch...
> > > (see harBuilder.js)
>
> > > Btw. this extension could already do what you want (also automated
> > > export)
> > > Or perhaps we could enhance it with new features?
>
> > > > I haven't been able to find any documentation on just getting some
> > > > parts of the stream from netlistener.
>
> > > by the stream, do you mean the response body?
>
> > > Honza
>
> > > > I know how to create a json
> > > > request, and post it, but I can't figure out how to get those 5 things
> > > > into the request. Can someone point me to some documentation on this,
> > > > or give me some examples? Or does anyone have suggestions on creating
> > > > this?

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to