检索 HAR 文件以帮助解决网络问题
HAR 代表 HTTP 归档,是存放浏览器中大量跟踪信息的容器。它记录了浏览器选项卡发出的所有 Web 请求,包括请求和响应标头、正文以及加载所需的时间。因而,HAR 文件在排除速度、缓存问题和难以复制的问题时非常有用。
HAR(http 归档)文件可能包含敏感数据,包括 Cookie、身份验证令牌和个人信息。这些数据可能会导致安全风险,如冒充和未经授权的访问。
在创建 HAR 文件时,客户必须确保在将文件发送给 Salesforce 支持部门和第三方供应商之前完成以下保护措施。
1.浏览到您遇到问题的 URL。
2.右击页面上的任意位置,然后单击检查元素。
3.此时应该已经在浏览器底部打开了开发人员工具。现在单击网络选项卡。
4.单击记录按钮并强制刷新页面,或单击您遇到问题的链接。目的是重现问题并捕获输出。
5.遇到问题后,右击“网络”选项卡,选择“另存为包含内容的 HAR”,然后保存文件。
6.现在,您可以将输出文件上传到您的支持工单或将其附加到电子邮件回复中。
1.浏览到您遇到问题的 URL。
2.导航到转至工具 > Web 开发人员 > 网络。
3.刷新页面以开始捕获浏览器和服务器之间的流量,或单击您遇到问题的链接。目的是重现问题并捕获输出。
4.单击另存为...后面的导出,以保存 HAR 文件。

1) 确保选中 Safari > 设置 > 高级选项卡下菜单栏中的“显示 Web 开发人员的功能”。
2) 访问您想要导出流量的网页。
3) 单击菜单栏中的开发,然后选择显示 Web 检查器。刷新页面。
4) 转到网络选项卡,并单击窗格右上方的导出。
要查看视频格式的信息,请观看如何捕获 HAR 和控制台日志文件。
000391709

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.