Adding a socket send

You can manually add a socket send element to a socket API performance test.

Before you begin

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.

Procedure

  1. Open the performance test in the test editor.
  2. In the Test Contents area of the test editor, right-click the test node, and click Add > Socket Send.
  3. In the Test Element Details section, click Change, and select the socket connection that you want to send data to.
    You can specify a Think Time delay before the test establishes the connection.
  4. 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