WebPagetest Forums
.HAR file has invalid Json - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: .HAR file has invalid Json (/showthread.php?tid=14425)



.HAR file has invalid Json - ramkumar.m - 07-29-2016 08:41 PM

Hi Team,

I have tried to open the Webpagetest exported .HAR file in .HAR viewer, its thrown error " Invalid Json" . Please let me know how to fix this issue.


RE: .HAR file has invalid Json - pmeenan - 07-29-2016 09:53 PM

Do you have a link to the test that generated the invalid json? Usually my first step would be pasting it into here: http://json.parser.online.fr/ and seeing if it also complains.


RE: .HAR file has invalid Json - ramkumar.m - 08-03-2016 12:16 AM

I have checked the json requests in jSON validator ,its thrown json eval error. It seems there is bug in webpagetest . HAR file - json request.


RE: .HAR file has invalid Json - pmeenan - 08-03-2016 12:25 AM

Back to the original question. Do you have a link to the test result? The HAR JSON is going to be different for every test and without your specific failcase on hand I can't see what specifically is broken.


RE: .HAR file has invalid Json - ramkumar.m - 08-03-2016 12:47 AM

I have given test link - http://www.webpagetest.org/result/160802_PJ_XNB/

I have exported this test result .HAR file and tried to open in .HAR viewer . I am getting invalid json.