API Tests¶
By creating testing tasks based on HTTP, TCP, ICMP, and WebSocket protocols, you can periodically monitor the network site quality and network data transmission stability across different regions and ISPs. This enables scheduled detection, availability judgment, and multi-region automated testing.
For example, when your service response is delayed or the response content is incorrect, the testing feature can promptly alert your team, helping you quickly locate performance issues and their impact scope before users notice them.
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). Upon receiving the request, the server returns a status code (e.g., "HTTP/1.1 200 OK" ) and 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 data into packets for transmission and reassembles them at the receiving end, while also performing error checking and retransmission mechanisms to guarantee data integrity. |
ICMP Protocol | The Internet Control Message Protocol (ICMP) is a sub-protocol of the TCP/IP suite, used to transmit control messages between IP hosts and routers. It is primarily used to detect network connectivity, host reachability, and route availability, playing a crucial role in the reliability of network communication. |
WebSocket Protocol | WebSocket is a full-duplex communication protocol based on TCP, widely supported since HTML5. It allows real-time bidirectional communication between the browser and the server, enabling both the client and server to send and receive messages simultaneously, facilitating efficient data interaction. |
Create¶
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. Once added, the labels will be directly displayed in the list. You can quickly find testing tasks under specific labels via 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
, the custom label will be ignored and not written into the testing result attributes.