NetExport questions

100 views
Skip to first unread message

Koj

unread,
Jun 28, 2012, 4:40:50 AM6/28/12
to Firebug
Hi everybody,
I'm using for my application webdriver with Firebug/NetExport.
NetExport is started with the automatic export option set to true.

I work on an ubuntu 10.04, with firefox 10.05 esr, firebug 1.9.2

I'm facing a several problems.

1) With the automatic export option set to true, I expect a new
archive is created each time a new page is reached from my webdriver
sequence. When my webdriver sequence is finished, I close the driver
(and so the browser). But depending on the size of the last loaded
page, netExport may have exported yet before the browser is closed. Is
it possible for netExport to intercept the close event and wait for
the end of the copy of the last archive before the browser is
effectively closed.

2) Let's consider that sequence :
- open the google page
- type "something" in the search form
- see the result page.

In this case, netExport only exports one archive which is the google
search page. The result page is not archived. Why?

3) In some cases (bbc.co.uk) for example, netExport export 2 or more
archives for the same page. They both correspond to the current page
but the first one seems to be truncated and the pageTimings values are
set to -1 (for both property "onLoad", and "onContentLoad".
How can we explain that? can we avoid this behaviour and be sure one
and only one is created for each displayed page?

Thanks in advance

Regards

Koj

Jan Honza Odvarko

unread,
Jun 28, 2012, 9:29:41 AM6/28/12
to Firebug
On Jun 28, 10:40 am, Koj <gro...@gmail.com> wrote:
> Hi everybody,
> I'm using for my application webdriver with Firebug/NetExport.
> NetExport is started with the automatic export option set to true.
>
> I work on an ubuntu 10.04, with firefox 10.05 esr, firebug 1.9.2
>
> I'm facing a several problems.
>
> 1) With the automatic export option set to true, I expect a new
> archive is created each time a new page is reached from my webdriver
> sequence. When my webdriver sequence is finished, I close the driver
> (and so the browser). But depending on the size of the last loaded
> page, netExport may have exported yet before the browser is closed. Is
> it possible for netExport to intercept the close event and wait for
> the end of the copy of the last archive before the browser is
> effectively closed.
There are https://developer.mozilla.org/en/Observer_Notifications
quit-application-requested, quit-application-granted and quit-
application events.

So, if the last archive would be sent synchronously to the server,
the "browser-close" could be deferred (in theory).

I have been solving the same issue in my blog post:
http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-with-firebug-and-selenium/

I am using a timeout, which is not much elegant (and safe).

// Wait till HAR is exported
Thread.sleep(10000);

Please create a new issue report for this.
http://code.google.com/p/fbug/issues/list

> 2) Let's consider that sequence :
>     - open the google page
>     - type "something" in the search form
>     - see the result page.
>
> In this case, netExport only exports one archive which is the google
> search page. The result page is not archived. Why?
I would have to try it, but my first guess is that yes, the browser
is closed before the HAR is actually exported.

> 3) In some cases (bbc.co.uk) for example, netExport export 2 or more
> archives for the same page. They both correspond to the current page
> but the first one seems to be truncated and the pageTimings values are
> set to -1 (for both property "onLoad", and "onContentLoad".
> How can we explain that? can we avoid this behaviour and be sure one
> and only one is created for each displayed page?
This sounds clearly like a bug

Check the existing issues:
http://code.google.com/p/fbug/issues/list?can=2&q=extension%3Anetexport&colspec=ID+Type+Status+Owner+Test+Summary+Reporter&cells=tiles

and if there is not related report already, please create a new one.
(+ instructions how to reproduce the problem).

Honza

kavita...@gmail.com

unread,
Jun 18, 2013, 5:47:18 PM6/18/13
to fir...@googlegroups.com
hi Jan,

I am having the same issue:

Let's consider that sequence : 
>     - open the coupons.com
click coupon 
>     . 


> In this case, netExport only exports one archive which is the google 
> search page. click event is not exported. but when i do it manually it gets exported.
and browser is not closed. because i am running in debug mode. i dont see autp export for other 
network activity expect the page load .
can you please help?
I am using ff 20 
firebug-1.11.4.xpi
netExport-0.9b3.xpi

Thanks
Kavita
Reply all
Reply to author
Forward
0 new messages