My favorites | Sign in
Project Home Wiki Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 5684: Net Panel should show status information about incomplete requests
3 people starred this issue and may be notified of changes. Back to list
Status:  Triaged
Owner:  ----
Cc:  sebastia...@gmail.com, odva...@gmail.com
net


Sign in to add a comment
 
Reported by jstec...@steckel-schneider.de, Jul 13, 2012
I use a combination of Firefox, Firebug, NetExport, WebDriver and HAR Viewer to monitor web applications. A monitoring test case typically comprises 5 to 10 steps with a timeout for each step. The data recorded by Firebug's Net Panel and exported by NetExport while running test cases is great for analyzing the performance of the web application under test. Especially the feature introduced with  Issue #5160  (extensions.firebug.netexport.timeout) helps a lot when it comes to understanding performance issues. However, Firebug's Net Panel doesn't list requests that have been started by the browser but are still incomplete when a test case moves on to the next step or reaches a step's timeout. Subsequently the HAR files exported by NetExport are missing these requests.

DETAILED DESCRIPTION:
It would be great to have all incomplete requests listed by Net Panel and exported by NetExport with information about their latest state (Blocked, DNS-Lookup, Connecting, Sending, Waiting, Receiving). Net Panel, as well as HAR Viewer, should provide information about incomplete requests through the Status column (e.g. "(Incomplete - Connecting)" instead of "200 OK"). The Network panel of Google Developer Tools for instance shows incomplete requests and denotes them as "(canceled)". This feature would also require NetExport to mark a HAR entry as incomplete and to provide the latest state of the entry. The export of incomplete requests through NetExport should be configurable (e.g. "extensions.firebug.netexport.includeIncompleteRequests"). The default should be "false".

TEST CASE:
Start Firefox, Firebug and Net Panel. Turn on the "Auto Export" option of NetExport. Call a web page and hit the stop button before the page is completely loaded. Alternatively call a second web page before the first page is completely loaded. Net Panel should list incomplete requests. The HAR file that NetExport has created should include those requests and denote their state accordingly.

Using Firefox 13.0.1, Firebug 1.10.0, NetExport 0.8b22 on Mac OS X 10.6.8 and Windows 7.
Jul 16, 2012
Project Member #1 sebastia...@gmail.com
This actually includes two different requests:
1. Show the request status while loading the requests and for aborted requests inside the Net panel
2. Export aborted requests to HAR using NetExport

#1 should be covered by this issue, for #2 I created issue 5695.

> The Network panel of Google Developer Tools for instance shows incomplete requests 
> and denotes them as "(canceled)".
The Net panel in Firebug also already shows "Aborted" as status for cancelled requests.
Though having the information about the status while loading the requests and after cancelling them would be helpful.
Therefore I changed the summary of this issue.

We just still need a test case for the status info being shown while loading the request.

Sebastian
Summary: Net Panel should show status information about incomplete requests
Status: Triaged
Cc: sebastia...@gmail.com odva...@gmail.com
Labels: Type-Enhancement net 1.10 Test-case-needed
Jul 16, 2014
Project Member #2 sebastia...@gmail.com
> 1. Show the request status while loading the requests and for aborted requests inside the Net panel

I.e. you should be able to expand a request even when it's aborted or still loading.

This was also mentioned in the discussion group.[1]

Sebastian

[1] https://groups.google.com/d/topic/firebug/dATyKhfo-Mc/discussion
Jul 18, 2014
Project Member #3 odva...@gmail.com
Here is a test case that uses flush() to send response back to the client in chunks. This way Firebug can show the response-download-progress.

The example is based on PHP flush
http://php.net/manual/en/function.flush.php
I don't know how to make it work on getfirbug.com, so you need your own server to test it.

STR:
1) Load the page, select and enable the Net panel
2) Type "a" (no quotes) in the input box
3) There is a new entry created in the Net panel
4) Expand it (you have about 10 sec)
5) Select the Response tab and watch the response as it's coming step by step


Honza
gethint.php
541 bytes   View   Download
index.html
654 bytes   View   Download
Jul 18, 2014
Project Member #4 sebastia...@gmail.com
The test case is available at https://getfirebug.com/tests/manual/issues/5684/index.html.

Sebastian
Labels: -Test-case-needed Test-case-available
Jul 18, 2014
Project Member #5 sebastia...@gmail.com
As Kumar mentioned in the discussion group[1] requests should always be expandable allowing you to see at least the request information, even when they are aborted or still waiting for a response and not only when they come in chunks.

Sebastian

[1] https://groups.google.com/d/msg/firebug/dATyKhfo-Mc/iqb8iYx9x6wJ
Sign in to add a comment

Powered by Google Project Hosting