PyHar
Base on browser-time to get har from network, and use python to analyze the data .
Prepare
-
Git clone repositories
-
npm install -g browsertime
Type "browsertime https://www.google.com" in cmd
if it works ,that means browsertime installs successfully.
-
cd your local repositories
-
if windows :
- open [auto_get_har.bat],[[Analyze_GetReport.bat],change the default path to your local path.
- put the urls you wanna test in test_url.txt
- run auto_get_har.bat as administrator .When done ,run Analyze_GetReport.bat.
- Then you can find test report in data_generate folder
-