Response "TCP"
This Response has two use cases.
Settings
(1) Alias: Field.
(2) Forward the answer of the TCP server via message: Checkbox.
(3) Mark whole job as failed if this response fails: Normally a job is not necessarily considered to be erroneous if a single Response fails (see section Status of Response - Error Behaviour). But it can be enforced with this option here.
(4) Additional text on error: Here you can specify an additional log text for the error case.
Use case 1
If (1) is a client connection, the payload is sent there.
The response of the TCP server can be forwarded to a subsequent profile via Message (2). For setting details see Response "Message". Note: If the connection uses a ByteHandler, the response is a Base64 string. See also function decode Base64().
Use case 2
If (1) is a server connection and (1) is used in the profile in a TCP Input Agent, the payload is sent as a response to the TCP client that called the profile.
Payload
The payload is the content of the Response.
If (1) uses a StringHandler, specify a normal string.
If (1) uses a ByteHandler, a Base64 value must be specified. Use function convert hex to base64() to generate the value.