如何创建设备
批量导入
要批量创建监控设备,请选择在“选择监控类型”页面上为网页监控设备提供的“大容量导入”选项。 有关更多详细信息,请参阅 批量导入 |网页监控,HTTP/S和PING/ICMP设备 文章。
配置请求
在单网页监控配置期间,系统将提示您调整 目标 选项卡下的以下基本设置:
Enter the URL that you wish to test. The address should be formed exactly as you would use it in a browser, such as http://www.example.com. You must include the http:// or https:// at the beginning of the address. You may include any GET parameters at the end of your URL.
Select the desired browser platform from the following choices: Edge, Firefox, Chrome, or a mobile device.
Depending upon which browser type you selected above, the Browser Version field will appear. Here you can specify a specific version of the browser you wish to use in the test.
Enter the number of seconds you expect your task should be completed in case you would like to receive an error if this threshold is exceeded.
Allows you to disable the detection of any certificate issues.
Record Video on Each Run will record a video capture for every single monitoring session. If this option is not turned on, the task will only record a video on the first session of a day that errors or on the first error detected from a location in a given error period.
If you want to see how a web page performs for a frequent visitor, or someone who already has elements from the page cached, you can turn on the return visitor flag on the task edit screen.
Simulate a Return Visitor immediately revisits the web page a second time and only records the results of the second visit. Results may differ from a first visit (which always starts with an empty cache) based upon how the browser handles certain items, such as the expiry of elements on the page.
Response time is commonly considered as the time passed from the end-user request in a real browser to the particular event during the page loading process.
Choose from the following options to calculate Response Time for:
- Full Page Load. Calculation of Full Page Load time is started when a site visitor initiates a request and stops when the entire page’s content is displayed in the browser window (the loading spinner has stopped spinning). To put it in another way, the time includes server response time and download time of all sub-resources like images and CSS (the Load Complete End event).
- Network Times Only. Selecting Network Times Only is useful if you are interested in a pure server response and download time of the page elements, and not in how long it takes an arbitrary end-user machine to render the page. It still sends a browser agent of the type specified above – and the server may send a different response based upon the agent specified. The time between network requests (e.g., JavaScript was executing) is not taken into account during the network time calculation, so verification for completion timeout is applied to pure response time.
- Navigation Timing Event. This option brings up a selection of particular time points in the page loading process. Some correspond to DOM events, others describe the time at which internal browser operations of interest took place. For descriptions of a particular event parameter, see https://www.w3.org/TR/navigation-timing/#sec-navigation-timing-interface.
- First Meaningful Paint. If this option is selected, the time to load a page’s primary visible content (the visible text, images, etc.) is calculated. The paint that follows the biggest layout change is taken into account. For example, the time to render the majority of the search results for a search engine page is calculated. Paints with only the page header, navigation bar, or loading indicator such as spinner icon don’t qualify.
*其他见解. 可以创建其他报告来自动审核性能、SEO 和其他网站指标。 有关如何使用 Dotcom 监视器创建灯塔监控的信息,请访问 我们的维基文章灯塔。
禁用视频录制和屏幕截图
默认情况下,当 Dotcom 监视器在浏览器窗口中加载网页时,系统会捕获网页请求执行的视频。 录制完成后,视频将包含在在线报告中以进行故障排除。 如果您不想录制监控请求执行的视频,例如出于安全原因,您可以完全 禁用录制和屏幕截图功能 。
有关更多详细信息,请参阅保护 PII:保护 PII 的每个步骤视频录制管理 。
浏览器模式
Dotcom-Monitor 可以通过代理或直接发送监视请求。 默认情况下,所有监视请求都将直接从监视代理发送。
浏览器模式选项允许快速激活代理以在隧道模式下发送请求或切换回直接请求。
Content Validation Keywords are used to ensure that the expected content was loaded onto a web page. In the Keyword fields, you can specify one or more words or phrases that you wish to search for in the web page content. If the expected keywords are not found, the task will return an error.
You can enter multiple strings into the keyword fields. The values you enter can be separated by logical expressions as follows:
{[("keyword1"&"keyword2")|!"keyword3"]}
Where:
{[ – keyword expression start;
]} – keyword expression end;
() – grouping brackets;
& – logical AND;
| – logical OR;
! – logical NOT;
“string” – a keyword.
A successful keyword expression must include the start and end brackets as follows:
{["keyword"]}
The HTTP authentication protocol is used to allow users to access content on some websites.
The following authentication schemes are available:
- Basic Authentication: This method encodes the username and password in base64 and sends them in the request header. It’s simple but not secure unless used with HTTPS.
- Digest Authentication: This scheme hashes credentials using a nonce (a random value) before sending them over the network, providing better security than Basic Authentication by preventing replay attacks.
- NTLM Authentication: A challenge-response mechanism developed by Microsoft, NTLM is used for securing credentials in Windows environments. It provides strong security by using multiple hashing and challenge-response protocols.
Once provided, login credentials will be passed along with the request header to the web server.
- Username: contains a username for HTTP/S authentication.
- User Password: contains a password for HTTP/S authentication.
Do not confuse HTTP authentication with other authentication schemes such as Bearer Authentication that involves bearer tokens and OAuth 2.0 that uses access tokens.
Read the articles on Basic Authentication Username and Password and Monitoring OAuth 2.0-based APIs for more information.
Expand the network element filter section and add a filter rule to ignore certain elements, such as images, Flash, or CSS, so they are not downloaded. You can use this to filter out elements that return an error. For example, you could ignore files that end in .js, .css, or .png. Or you could ignore files that contain google or jquery, etc.
There are two types of rules:
- Ignore elements corresponding to the mask.
- Download only the elements that correspond to the mask.
Each “Download” and “Ignore” field has three possible values:
- Start With. Each referenced object which starts with this string will be filtered.
- Contain. Each referenced object which contains this string will be filtered.
- End With. Each referenced object which ends with this string will be filtered.
- Equals. Each referenced object which is equivalent to this string will be filtered.
DNS 选项
The DNS Options feature allows users to choose how domain name server (DNS) requests are conducted during a monitoring task.
To specify the mode of resolving hostnames, in the DNS Resolve Mode section, select one of the available modes. For more details on the feature configuration, see DNS Mode Options.
The Custom DNS Hosts section allows to set up the mapping of IP addresses to hostnames. IPv6 and IPv4 DNS resolution is supported.
To specify the mapping, enter the IP address and the hostname in the corresponding fields.
See also: DNS Mode Options.