# tools-har **Repository Path**: kitlab/tools-har ## Basic Information - **Project Name**: tools-har - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # har-master ### 使用教程 #### git部署 1. git init 2. git add . 3. git commit -m "first" 4. git branch 5. git remote add origin https://gitee.com/tombtiger/har-master.git 6. git remote -v 查看是否生效 7. git push origin master -f //强制更新 #### har.js 1. 测试网站 http://api.rivermap.cn/cesium/rivermap/map.html 控制台切换至network下,右键save as HAR with content 2. 得到文件api.rivermap.cn.har 3. 执行node .\har.js api.rivermap.cn 4. out目录下得到结果 ### 参考资料 1. http://www.softwareishard.com/har/viewer/ 2. https://github.com/janodvarko/harviewer 3. http://www.softwareishard.com/blog/har-viewer/