Add a socket send
You can manually add a socket send element to a socket API performance test.
In a performance test, socket send elements describe how data is sent over a connection. A socket send element relates to a specific socket connection. To add a socket send to a performance test:
- Open the performance test in the test editor.
- In the Test Contents area of the test editor, right-click the test node, and click Add > Socket Send.
- In the Test Element Details section, click Change, and select the socket connection to send data to. You can specify a Think Time delay before the test establishes the connection.
- In the Data area, type the data that you want to send. By default, data is sent as 7-bit alphanumeric characters. To specify hexadecimal bytes, prefix the data with \x, for example: \x00\xff
Related reference
Socket send details