agusantoso / harviewer

Automatically exported from code.google.com/p/harviewer
0 stars 0 forks source link

External HAR file not working #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get HAR file - http://zn.webopulsar.com/1.har
2. Open HAR viewer with this file
http://www.softwareishard.com/har/viewer/preview.php?inputUrl=http://zn.webopuls
ar.com/1.har&expand=true&width=600px
3. Get blank (as for any error) screen
4. Just copy&paste file contents to viewer - works

What is the issue?

Original issue reported on code.google.com by sp...@webo.name on 13 May 2013 at 7:07

GoogleCodeExporter commented 9 years ago
It doesn't look like you wrapped the .HAR content into a callback function as 
prescribed on this page:
http://www.softwareishard.com/blog/har-viewer/

The Content of a *.harp is HAR enclosed within a callback function.
onInputData({ "log": { ... } })

Original comment by fracture...@gmail.com on 17 Mar 2014 at 7:01