The message flow between two ports (source port and target port)  present in an event process that is running can be tested using the context menu option as shown below.

To test the message flow, right-click the orchestration editor (outside the microservices and ports) of the running event process, and click the Test Message option. The  Test Message dialog box that gets displayed allows selecting any source port, while the target port selection allows only "output ports" and "topics". Refer to the next section to know how to test the message flow between ports.

Figure 1: Right-click context menu showing the Test Message option on a running event process

How to execute the test

  1. Select the options below from the Source Component drop-down menu.

    Figure 2: Options present in the Test Message dialog box

    Source ComponentThe drop-down menu will have the microservices present in the flow such as the Feeder and Display components. Select the service from which the message starts flowing.

    Source PortAfter selecting the Source Component, the ports pertaining to them are displayed. Select the port required.
    Target ComponentSelect the Target Component.
    Target Port

    The ports pertaining to the Target Component are displayed. select the port required.


  2. Click the Start Testing button. The Send Message button gets activated.

    Figure 3: Stop Testing and Send Message buttons getting activated after clicking the Start Testing button 

  3. Click Send Message after editing the message, header or attachment. The message present in the editor on the left side appears on the right side with the properties as set at the source.


    Generate Sample option enables to insert schemas related to the port.

    Figure 4: Clicking Send Message button to test the message flow

    • Clicking the Stop Testing button stops testing while disabling the Send Message and Start Testing buttons.
    • If the peer server is stopped while testing, an error message is displayed.

Adaptavist ThemeBuilder EngineAtlassian Confluence