Questions tagged [har]

har is the HTTP Archive format that can be used by HTTP monitoring tools to export collected data.

har, the HTTP Archive format, is adopted by browsers and tools to persist network analysis data captured (collected) monitoring the page activity (i.e. to see what resources a web page is using, bandwidth and cache usage, and so on). har files (HTTP tracing logs) can be processed by specific statistical software or visualized by tools such as for example harviewer. See also the HAR 1.2 Specification

170 questions
1
vote
1 answer

How to automate saving the log of Network panel of Google Chrome Developer tools using Chrome extension?

Suppose I open a web application and I want to get the details of all links,images and videos loaded in a HAR file from the Network panel of Google Chrome Developer Tools, how do i automate it?
1
vote
1 answer

har file issue browsermob-proxy with webdriverio

I was trying to use browsermob-proxy using this and this with webdriverio. It runs fine , but theres no har file generated. I tried changing the below line fs.writeFileSync('stuff.har', data, 'utf8'); to fs.writeFile('/Users/abc/xyz/stuff.har',…
user1207289
  • 3,060
  • 6
  • 30
  • 66
1
vote
1 answer

Capturing Post parameters by monitoring network traffic in Selenium Webdriver

I havebeen recently trying things to capture network traffic in my Selenium WebDriver tests. I tried: Firebug+NetExport :NetExport is not supported for my FF41. BrowserMobProxy:Post data is captured but i guess it is encoded. Har Export Trigger :…
1
vote
1 answer

MapReduce job with HAR file output

I have multiple small input files. For running a map reduce job with a multiple input files, this will be the command: hadoop jar But if in case the above is just a text file and…
1
vote
0 answers

Python Selenium Firefox Firebug export .har-file

I`m exporting a .har file using firebug extension for webdriver firefox in python selenium. I can get the "DomContentLoaded" and "'load' (event) but is it possible to get the Total time needed for all requests to be finished? Look at the attachment.…
patricmj
  • 365
  • 2
  • 3
  • 18
1
vote
1 answer

MapReduce Job with HAR file input

I have created a HAR file containing multiple small input files. For running a map reduce job with a single input file, this willbe the command: hadoop jar But if in case the above is a HAR…
user182944
  • 7,897
  • 33
  • 108
  • 174
1
vote
0 answers

How to load multiple har files on one pig load command?

I have many har files based which is archived by hours, and I would like to analysis the data based on month and day. I tried different wildcard matching methods which supported by pig load and works well for non archived folders and files but none…
KaneWang
  • 11
  • 3
1
vote
1 answer

Parsing HAR file to get a table of HTTP header values

I am parsing a HAR file (chrome devtools generated) using jq. My objective is to get a "table" (or csv output could be nice also) with a list of the values of specific HTTP headers returned by the server, per request URL. To get a list of all…
pmaugeri
  • 319
  • 2
  • 8
1
vote
1 answer

Pcap2har ignores https packets?

I use pcap2har to extract from pcap to a har (HTTP Archive) file. But, when pcap file contains https packets, it ignores all the https packets. how to avoid it? Or any other way to get har file from pcap file which containing https? Thank you.
trinity
  • 81
  • 1
  • 6
1
vote
1 answer

chrome har file generation

I'm currently using phantomjs to jenerate HAR files. But it sometimes hangup therefor I'm trying to use Chrome to do it. i install it and also installed chrome-har-capturer to do the job for me. But when i tried to execute chrome-har-capturer -o…
aruth
  • 99
  • 1
  • 11
1
vote
1 answer

How do I properly use NetExport's "showPreview" option in an automated script? (Webdriver w/ Firebug & NetExport)

I am currently using Selenium Webdriver with Firefox (and the Firebug/NetExport plug-ins) to fulfill a regression testing scenario where a specific query string parameter that is pulled from an HTTP request sent after a user utilizes a search bar on…
1
vote
2 answers

How to generate Har file from java using selenium webdriver without autoexport?

I am using netexport api with firebug in selenium for automation . There are two cases. Auto export: I have enabled this option in java with FF custom profile and the har file is automatically generating once the page load done. I am able to parse…
Panneerselvam
  • 421
  • 6
  • 13
1
vote
1 answer

Is there a way to capture cancelled requests using a har proxy?

in my project, I have some JavaScript responsible for tracking user actions in order to optimize the page's layout. These calls are executed when the user clicks something, including the links leading to further pages. I have the whole flow covered…
toniedzwiedz
  • 17,895
  • 9
  • 86
  • 131
1
vote
0 answers

Hadoop, HAR files and globbing doesn't work

We have a dataset of ~8Milllion files about .5 to 2 Megs each. And we're having trouble getting them analysed after building a har file. The files are already in a pre-existing directory structure: user-| |-hadoop-| …
DWAB
  • 11
  • 1
1
vote
2 answers

pcap2har for a pcap that was generated by tshark(-w option)

My pcap file is generated via a command like: cmd = """tshark -r "%s" -R "frame.time_relative >= %f" -w "%s" """ % (pcap_name, first_dns_query_time, normalized_pcap_name) subprocess.Popen(cmd) And that normalized pcap is given input to pcap2har. I…
prongs
  • 9,422
  • 21
  • 67
  • 105