TCP
TCP
This system keyword is used to test the TCP basic protocol. Ensure that the user IP address is accessible from the public network and the security group policy of the corresponding port is enabled to permit access.
Parameter |
Mandatory |
Type |
Default Value |
Description |
---|---|---|---|---|
Host |
Yes |
String |
- |
TCP service address |
Port |
Yes |
Integer |
- |
TCP service port |
Connect Timeout |
Yes |
Integer |
- |
TCP service connection timeout Unit: millisecond |
Read Timeout |
Yes |
Long |
- |
Message reading timeout Unit: millisecond |
Check End Type |
Yes |
Enum |
CheckEndStr |
Message end flag: CheckEndLength CheckEndStr |
Body Type |
Yes |
Enum |
CharSequence |
Message body type: CharSequence HexadecimalCodeStream |
TCP Response
Parameter |
Type |
Description |
---|---|---|
Body |
String |
TCP API return |
TCP Response Example
{ "This is a test Message!" }
Default Checkpoint
Name |
Expected Value |
---|---|
Result |
Success |
TCP Usage Example
Configure parameters to access the TCP service.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot