Selecting the transport and formatter

You can select the transport and formatter for a Subscribe action.

Procedure

  1. In the Test Factory, open the test that contains the Subscribe action.
  2. Double-click the Subscribe action to open it for editing.
  3. If necessary, click the Config tab.

    The Transport field and Formatter list are displayed at the top of the tab.

    image of screen to select transport and formatter
  4. Click Browse to select a MongoDB transport in the Select a Resource dialog and select from the following options:
    1. Select the option for obeying references.
      If you select No, you can select any transport in the project. If you select Yes, you can select only transports that are referenced (directly or indirectly) by the operation that contains the test.
    2. Optional: Select the option you want. If you select Only Direct, you can select only transports that are referenced directly by the operation that contains the test.
  5. Locate and select the required transport in the resource tree.
  6. Click OK when finished. In the Formatter list, Document shows as the format of the message.