The synthetic monitoring feature uses the globally distributed monitoring networks to view, perform, and download network synthetic monitoring on web applications such as websites and servers. This topic describes how to create a cloud dial test download task.

Procedure

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Cloud Dial Test. On the Scheduled Dial Test page, click + Create Scheduled Task in the upper-right corner.
  3. In the Basic Information step, set the Task Name, Task Address, and Task Type parameters and click Next.
    Parameter Description
    Job Name The name of the synthetic monitoring task.
    Task Address The URL of the web application on which you want to perform synthetic monitoring. Addresses starting with http or https are supported. Addresses in ip:port format are also supported.
    Job Type Set Task Type to Download.

    Download tasks can obtain the performance (such as success rate and transmission speed) of users when downloading specified resources in different environments (city operators, browser versions, operating systems, etc.), analyze the generated reports to understand the access performance of files, and generate better tuning policies based on Alibaba Cloud Content Delivery Network effects than existing services to further optimize distribution policies.

  4. In the Monitoring Points step, perform the following operations:
    1. Set the Adding Method parameter to Recommended Monitoring Point Group or Custom.
      Note The recommended monitoring point group includes monitoring points in major provinces and cities in China. The custom group includes all monitoring points supported by Alibaba Cloud Dial Test in the world.
    2. Select one or more monitoring point groups in the list on the left and click the right_arrow icon.
      The monitoring points in the selected monitoring point groups are added to the Added list on the right.
    3. Click Next.
  5. In the Monitoring Parameters step, set the parameters and click Next.
    Parameter Description
    IP Address Type The type of the IP address. Valid values:
    • Automatic
    • IPV4
    • IPV6
    Associated Items The monitoring settings of the task. Valid values:

    Redirection: specifies whether to continue browsing after a redirection occurs.

    Download the kernel Select the kernel for downloading: curl or Winlnet.
    Certificate error Specifies whether to ignore certificate errors during certificate verification during SSL handshake and continue downloading.
    • Do not ignore: The certificate error is not ignored.
    • Ignore: After you choose to ignore certificate errors, you also need to select the type of error to ignore. Currently, you can ignore the following certificate errors:
      • Ignore certificate revocation errors.
      • Ignore CA certificate authorization errors.
      • Ignore invalid host name errors.
      • Ignore certificate expiration errors.
      • Ignore certificate usage errors.
    Advanced Settings
    Monitoring duration The default monitoring duration is 60 seconds. If this value is exceeded, monitoring is stopped. The maximum monitoring duration is 300 seconds.
    Transfer Size The maximum value allowed for file downloads in the test.
    Connection Timeout By default, TCP connection time is set to 3 seconds. If this value is exceeded, an error 601 connection to the server fails is reported.
    Custom Host Select a custom host mode (Round Robin or Random ), and then enter a custom host in the field.

    Custom Host Format: You can enter multiple IP addresses. Separate multiple IP addresses with commas (,). Example: ipv4:192.168.2.1,192.168.2.5:img.a.com | 192.168.2.1[8080]:img.a.com.

    Note If a colon (:) is used, a URL before the colon (:) is automatically resolved.
    Custom Header Specifies whether to add or modify some field values in the request header. Valid values:
    • Modify First Packet: modifies the header of the first request packet in the browse task.
    • Modify All Packets: modifies the headers of all packets.
    • Off: does not modify the headers of packets.
    Enter a custom header in the text box. Custom Header Format: You can specify multiple fields. Separate multiple fields with vertical bars (|). Example: Host:www.example.com|Referer:www.example.com.
    Verification method
    • Do not verify
    • String validation: The response data contains the entered validation keyword. Otherwise, an error is reported.
    • MD5 verification: Save the response data as a file for MD5 calculation, and compare the obtained value with the expected value, which needs to be exactly the same.
    Verify keyword The verification keyword intercepts a string contained in the response header. If the monitoring sample does not contain a string, an error is reported.
    Hijacking parameters
    DNS hijacking whitelist When a domain name (for example, www.aliyun.com) is resolved, the resolved IP address or CNAME is not in the DNS hijacking whitelist, the user will fail to access or return a destination IP address that is not Aliyun. If the IP address or CNAME in the resolution result is in the DNS whitelist, it will be deemed that no DNS hijacking has occurred.

    Format: Domain Name: Matching Rule. Matching rules support IP, IP wildcard, subnet mask, and CNAME. You can enter multiple matching rules. Separate multiple matching rules with vertical bars (|). For example, www.aliyun.com:202.0.3.55|203.3.44.67 indicates that all IP addresses of the www.aliyun.com domain name except 202.0.3.55 and 203.3.44.67 are hijacked.

  6. In the Monitoring Cycle step, set the parameters and click Next.
    Parameter Description
    Monitoring Frequency The intervals at which the synthetic monitoring task runs.
    Advanced Settings
    Start Execution Time The time to start running the synthetic monitoring task. This parameter is valid only when the synthetic monitoring task runs at long intervals. The value of this parameter cannot be greater than the value of the Monitoring Frequency parameter.
    Evenly Distribute Monitoring Samples Offset = Number of minutes in a cycle/Number of carriers. The earliest delivery time of each carrier is the value of the Start Execution Time parameter plus the offset.

    Distributing monitoring samples evenly can be used to distribute dialing tasks to avoid an instantaneous increase in the traffic of the monitoring target website due to simultaneous dialing. We recommend that you select this parameter in scenarios with multiple monitoring points and high frequencies.

  7. In the Alert Parameter step, perform the following operations:
    1. Select an alert metric and turn on the switch on the right side of the alert metric.
    2. Set an alert rule. For example, Average Transmission Speed: Alert if the average transmission speed of a task is less than 100KB /s.
    3. Select a notification policy from the Notification policy drop-down list.
      You can click Create Notification from the drop-down list. In the Create Notification Policy panel, set Notification Name, Notification Person, and Notification Method to create a notification policy.
      Note
    4. Click Next.
  8. In the Preview & Publish step, confirm the parameters and click Complete.
    Then, the Scheduled dial test page appears.