HAR (HTTP Archive)

Har file is a JSON-formatted file that contain a trace of a Web browsers interaction with a given site. (Wikipedia)

so basically you can export all the interations between the browser and server (Css , javascript , images and most importantly Ajax request ) into a file that can be imported later

so why should i care about this , usually this is used when you want to send some meta data to developer when testing on a staging environment or production environment

Lets go into practice ..

first how to export this in chrome you can press F12 or right click and then “Inspect element” and then in the network tab right click as shown in the bellow image 

Image

and then you can save this in a .har file on your disk 

then we can import this in two ways

  • Online

http://www.softwareishard.com/blog/har-viewer/

http://ericduran.github.io/chromeHAR/

  • Desktop

Fiddler2

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s