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
6
votes
3 answers

Detail procedure to generate a har file from a given url via command line tool

Could anybody advise how to generate a har file from given a url via command line in linux? Detail tools used and guidelines are much appreciated. Thanks
imnew
  • 91
  • 2
  • 7
5
votes
1 answer

How to retrieve the "Initiator" field from the devtools Network panel with Selenium?

I'm trying to extract all the URL network requests from a website and establish a relationship of hierarchy between them i.e. if one URL request is generating another request. Something like a chain of requests. As you know, in the Network panel,…
5
votes
0 answers

Saving files is not enabled in hosted mode. Please inspect using chrome://inspect

Testing Samsung TV, and am trying to save the data as HAR in Tizen web developr tool, however, receiving an error message when trying. What may I need to change in the settings (?) to enable saving files? Saving files is not enabled in hosted mode.…
5
votes
1 answer

Extracting HTTP responses from HAR file to filesystem

Is there a tool that can extract documents that appear in HTTP responses and dump them to the filesystem, ideally using path and filenames from the original HTTP requests?
hertzsprung
  • 9,445
  • 4
  • 42
  • 77
4
votes
1 answer

Selenium read network data using HAR Export xpi

I am using HAR Export XPI to get the network traffic for the pages traversed using selenium. I am adding the XPI to ffv46 (as cannot add XPI to latest ff browsers). I have used the below mentioned mentioned profile settings…
Kallol Ghose
  • 161
  • 9
4
votes
1 answer

No headers in HAR response

I parse website 'http://ok.ru'. To get data from the post request I need to send a specific token that is generated by Javascript on the website and this token is contained in headers. So I thought maybe one solution would be to open the website,…
4
votes
1 answer

How to generate HAR file from an HTML file?

If I use wget, and get an html file from a URL. How can I generate a HAR file from that HTML file. Any open source implementations for generating har files from html files? Once the HAR file is generated I can read data from the HAR file using…
Vivek Sharma
  • 3,794
  • 7
  • 38
  • 48
3
votes
1 answer

How to mock browser requests based on har files?

I've exported a har file of my application. Now I would like to reuse it when the server is crashed (it's quite often issue). I was looking for an application that could mock http requests and send the response based on already recorded .har file…
MrPiotr84
  • 31
  • 2
3
votes
1 answer

How to get redirect chain with selenium if I must directly click on banners and open it on another tab?

I am working on a project, in which I should click banners and get redirect chains. In order not to get my page override and to make it easier for next step, I thought I should ctrl+click on banners and make it open in another browser tab to get all…
hans
  • 325
  • 2
  • 9
3
votes
1 answer

Exporting large HAR file from Chrome Dev Tools

In the network tab within the Chrome Dev Tools, I have a large amount of HTTP requests that I would like to export into a HAR to analyze. I've tried to export the HAR with the export button, and I've tried the "Save all as HAR with content" option…
ceaserg
  • 106
  • 7
3
votes
1 answer

How to remove Cookie value from HAR file before sharing it with another person

It's common to diagnose web app with HAR file especially when seeking technical support from another person. However, HAR file contains sensitive info like request cookies. For example, if following this guide, it could share cookie values to…
shawnzhu
  • 7,233
  • 4
  • 35
  • 51
3
votes
0 answers

Is there a way to 'Save HAR with content' in Chrome with a hotkey shortcut?

I would like to periodically save HAR with content on a website. I tried using headless chrome, but I found out that if I'm using headless chrome, there's only a way to do this with using browsermob-proxy. Using a proxy gives me problems, because…
user3656099
  • 155
  • 1
  • 11
3
votes
2 answers

I get an empty file for .har

I was always able to generate a .har file to help devs for troubleshooting issues. But recently I just get an empty file for that! P.S. I use Chrome.
3
votes
0 answers

Understanding Selenium + browsermob-proxy + protractor + AngularJS

What I have: several integration test specs written in Jasmine for my AngularJS app (they navigate through my entire app) What I want: perform a network monitoring of my app and export the data using HAR Naive solution: just write a script which…
Marcos
  • 4,643
  • 7
  • 33
  • 60
3
votes
4 answers

How to get total web page response time from a HAR file?

In the following image, I want the total response time from the webpage. I can't seem to find it in the file sample HAR file, i.e. 38.79s in this case. Does anyone know how to get this? I am going to use Selenium along with Firebug and NetExport to…
Neo84
  • 197
  • 2
  • 18
1
2
3
11 12