Skip to content

API Tests


By creating testing tasks based on HTTP, TCP, ICMP, and WebSocket protocols, you can periodically monitor the quality of network sites and the stability of network data transmission across different regions and carriers. This enables scheduled testing, availability judgment, and automated multi-region testing.

For example, when your service response is delayed or the response content is incorrect, the testing function can promptly alert your team, helping you quickly locate performance issues and their impact scope before users notice the problem.

Concepts

Term
Description
HTTP Protocol The Hypertext Transfer Protocol (HTTP) is an application-layer protocol based on TCP/IP, used for data communication in distributed, collaborative, and hypermedia information systems. Typically, an HTTP client initiates a request and communicates with the server via a TCP connection (default port 80). The server receives the request and returns a status code (e.g., "HTTP/1.1 200 OK") along with the corresponding content, including the requested file, error message, or other information.
TCP Protocol The Transmission Control Protocol (TCP) is a network communication protocol used to establish and maintain a reliable connection between two programs, ensuring the correct transmission of data over the Internet. TCP breaks down data into packets for sending and reassembles them at the receiving end, while performing error checking and retransmission mechanisms to ensure data integrity.
ICMP Protocol The Internet Control Message Protocol (ICMP) is a sub-protocol of the TCP/IP protocol suite, used to transmit control messages between IP hosts and routers. It is primarily used to detect whether the network is functioning, whether the host is reachable, and whether the route is available, which is crucial for the reliability of network communication.
WebSocket Protocol WebSocket is a full-duplex communication protocol based on TCP, widely supported since HTML5. It allows bidirectional real-time communication between the browser and the server, enabling both the client and server to send and receive messages simultaneously, facilitating efficient data interaction.

Create

HTTP

TCP

ICMP

WebSocket

Task Labels

On the testing task creation page, you can add labels in the top-left corner for the current task, enabling data linkage within the workspace through global labels. Added labels will be directly displayed in the list after saving. You can quickly find testing tasks under a specific label using the "Quick Filter > Labels" on the left.

Label Logic Supplement

If the testing task node is set to node_name: South China-Guangzhou-China Telecom, and you add a custom label node_name: Self-built Nodes to the task, the custom label will be ignored and not written into the testing result attributes.

Feedback

Is this page helpful? ×