add_tcp_sampler
Add a TCP sampler to a JMeter test plan under a parent node, opening a raw TCP connection and sending request data to a specified server and port.
Instructions
Add a TCP Sampler under the given parent (usually a Thread Group), opening a raw TCP connection and sending request data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | TCP Sampler | |
| port | Yes | ||
| planId | Yes | ||
| server | Yes | ||
| noDelay | No | ||
| request | Yes | Data to send over the connection | |
| parentId | Yes | ||
| classname | No | TCP client handler class (short name resolves under org.apache.jmeter.protocol.tcp.sampler) | TCPClientImpl |
| timeoutMs | No | ||
| closeConnection | No | ||
| reUseConnection | No | ||
| connectTimeoutMs | No |