Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export all network traffic on a webpage

I'm looking for a tool that would list all the network information that a html dom (javascript etc as well) page loads. Exeactly what chrome shows on the developer tools/Network tab.

I've tried the Chromium-browser under ubutu to export this data but was not able to get the networking stats.

So what I would need is to parse a request preferably thru the command line (ubuntu/debian) which would return the networking stats.

like image 842
Vincent Avatar asked Nov 11 '13 21:11

Vincent


People also ask

How do I capture Network traces in Chrome?

Capturing the network trace file on Google ChromeFrom the Chrome menu bar, select View > Developer > Developer Tools. From the panel that opens, select the Network tab. Look for a round record button in the upper-left corner of the tab, and make sure it is red. If it is grey, click it once to start recording.

How do I collect Network logs?

Collect network logsAt the top, click Network logs. Under Network debugging, select the correct debug mode. Open a new tab and reproduce the issue. Once completed, go back to the original tab.


1 Answers

There is network monitor at Firefox dev tools. Take a look at mdn page where this feature is explained. It is possible to export HAR information from the Network panel by right-clicking and selecting "Save all as HAR". HAR is a network request archive format used by many performance and request analysis tools.

You can also use firebug addon which has also his own network monitor and extract data by using the netexport firebug extension.

For automated process (that will open the browser, then firebug, then the page and then will export data), you probably need the auto-tool used for testing firefox which is called mozmill

like image 115
Otobo Avatar answered Sep 20 '22 12:09

Otobo