+

Search Tips   |   Advanced Search


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 socket test.

The wizard can perform the following actions when merging socket test elements:

To perform a merge, the selected elements must be consecutive and must be to or from the same connection. 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 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 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.


Related

  • Socket API test editor overview


    Related tasks

  • Change multiple socket send and receive elements