This topic explains how to configure and apply the Transmit tool that lets you transmit and receive over a socket connection.
Sections include:
The Transmit tool lets you transmit and receive over a socket connection. It is used for communicating directly with a specific port of a host. For example, you can use it to send a direct request to the server, then verify the response. If you are expecting something sent to a specific port on your machine, you can use this tool to listen at a particular port.
You can use this tool to perform a lower level of testing than the SOAP tool allows because it looks at the socket connection, which is handled by HTTP and sits one layer below the SOAP call. It is also useful if you have applications communicating through XML over a socket connection; it can be used to perform functional and regression testing of components that communicate using socket-based protocols.
This tool can be used as part of a test suite, or it can be applied to a file or set of files available in the file tree.
If you are using this tool as a tool output, you need to specify the following information:
Otherwise, you need to specify the following information:
You can specify this information in the Transmit tool’s configuration panel.
To learn about special options available for this tool’s output, see Output Options.
To listen using the Transmit/Listen tool:
You do not need a host specified in the Transmit parameters panel if you want to listen; the host parameter is only required if you want to transmit. |
If you stop listening but do not close the connection to the host, the tool will ignore the incoming data from the connection, but you will still be able to send data over the connection. To stop listening:
When the connection is closed, you cannot send or receive any data. To close the connection to the host:
For details on special options for this tool’s output, see Output Options.
Transmit tool contains the following output options:
For additional information on these output options, see Adding Test Outputs.