firebug / netexport

Firebug extension - export data from the Net panel
http://www.softwareishard.com/blog/netexport/
Other
35 stars 17 forks source link

Recording AJAX Requests #3

Closed czardoz closed 11 years ago

czardoz commented 11 years ago

2013-10-04-152140_3286x1240_scrot

The circled requests are not exported to my directory. I presume they are AJAX requests. How can I export them too?

janodvarko commented 11 years ago

I need a simple test case (a page) that can be used to see the problem on my machine. Can you create one?

Honza

czardoz commented 11 years ago

This is actually a problem that is caused because of the timeout (extensions.firebug.netexport.pageLoadedTimeout). I think that the HAR archive is saved as soon as the timeout expires. Any requests that are made after the timeout (but without refreshing the page) are not recorded. Is there any way to export individual request/responses by selecting them, and right-clicking?

Here's how this can be reproduced:

1.) Visit http://www.degraeve.com/reference/simple-ajax-example.php 2.) Wait until timeout (which is by default 1500ms) 3.) Enter some word into the text box on that page. 4.) The POST request shows up in the "Net" tab of the Firebug panel, but it is not captured in the HAR archive (which is already present in the log directory, since timeout has expired)

If this cannot be fixed easily, is there any way to output separate HAR files for any request that goes through the browser? I am mainly interested in replaying the captured data, so the Timing and other metadata is not of much consequence to me.

Many thanks for the response! :)

janodvarko commented 11 years ago

So, would the following context menu items (when right clicking on a request in the Net panel) solve the problem for you?

Honza

czardoz commented 11 years ago

Yes, I believe that would work. I personally got things going by increasing the extensions.firebug.netexport.pageLoadedTimeout.

Thanks for the response, I'll close the issue now :-)

janodvarko commented 11 years ago

These issue reports cover what has been suggested:

http://code.google.com/p/fbug/issues/detail?id=5876 http://code.google.com/p/fbug/issues/detail?id=6848

Honza