Merging socket send and receive elements

With the Organize wizard, you can merge consecutive send or receive elements that use the same connection to improve the clarity of your socket test.

Before you begin

The wizard can perform the following actions when merging socket test elements:
  • Merge consecutive socket send elements that use the same connection.
  • Merge consecutive socket receive elements that use the same connection.
  • Delete all socket receive elements except for the last one, which is necessary to synchronize the test.
To perform a merge, the selected elements must be consecutive and must be to or from the same connection.

Procedure

To merge send or receive elements in a socket test:

  1. Select the socket send or receive elements that you want to merge. Press the Shift key to select multiple consecutive elements in the test editor.
  2. Right-click the selection and click Organize Send and Receive Actions. This opens the Organize wizard.
  3. Choose one of the following options:
    • Select Merge all selected send or receive actions to merge the selected elements.
    • Select Merge all selected send and keep a single receive to delete all socket receive elements except the last one.
  4. Click Next.
  5. If your selection contained send elements that could be merged, specify the Custom Code settings that should be retained for the merged element, and click Next.
  6. If your selection contained receive elements that could be merged, specify the Response Timeout and End Policy settings that should be retained for the merged element, and click Next.
  7. Click Finish to perform the merge.
Feedback