TCP Send command

Description:

This command sends data on a connected TCP socket.

Format:

TCP SEND {data} CONN_ID conn_id [IDENTIFIER identifier]

Parameters:

data

character string list (comma separated list of character strings) containing the data to send. If the character string begins with "0x", the following characters are interpreted as hexadecimal codes and corresponding bytes are sent (eg: if data is "0x414243", "ABC" will be sent).

conn_id

integer specifying the connection on which the data must be sent.

identifier

An integer constant representing the request identifier (should not be modified).

Example

TCP CONNECT "localhost:23" CONN_ID 1;
TCP SEND {"0xfffc23fffc24fffa1800",
                "ANSI",
                "0xfff0fffa2700fff0"} CONN_ID 1 IDENTIFIER 3;

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap