Skip to content

Create TCP Testing Tasks


TCP testing is used to monitor the TCP connection of host ports, ensuring the availability of critical services such as SSH (22), SMTP (25), DNS (53), VPN over HTTPS (443), and other custom ports. Through response time data, you can track the performance of network applications and discover all gateways on the path to the target host via the route tracing function.

Start Creating

Click Create > API Tests, and select TCP Protocol.

1. Define Request Format

  1. Host: Supports entering host address and port. The host address can be a domain name (e.g., www.example.com) or an IP address (e.g., 192.168.0.1), with the port defaulting to 443.
  2. Name: Customize the name of the TCP testing task, which must be unique within the current workspace.
  3. Route Tracing: When enabled, the route tracing probe (traceroute) will be activated to discover all gateways on the path to the target host.

2. Availability Judgment

You can add judgment conditions based on filter criteria to match data. When selecting multiple judgment conditions, you can define the logical relationship as AND or OR through "All" or "Any".

After defining the request format and adding judgment conditions, click the Test button on the right side of the URL to verify if the testing connection configuration is successful and return the route tracing result (if related conditions are configured).

Note
  • If "Network Hops" is selected as the judgment condition, the system will return route tracing data, similar to enabling the Traceroute function.
  • The test result is independent of the selected testing node.

3. Select Testing Nodes

Currently, Guance covers 14 testing nodes globally. You can select one or more nodes in China or overseas regions (only for Commercial Plan and above users) to quickly start site service quality monitoring.

4. Select Testing Frequency

Select the execution frequency of the testing task, with the following options supported:

  • 1 minute (only for Commercial Plan and above users)
  • 5 minutes (only for Commercial Plan and above users)
  • 15 minutes (only for Commercial Plan and above users)
  • 30 minutes
  • 1 hour
  • 6 hours
  • 12 hours
  • 24 hours

In addition to the specific options provided by the system, you can also input Custom Crontab Tasks to configure scheduled task execution based on minute, hour, day, month, and week cycles.

Feedback

Is this page helpful? ×