1
  1. JMS 接收时需要验证状态码。元素名称是什么?
  2. 是否可以在 citrus HTML 报告中获取错误代码? 在此处输入图像描述

<send endpoint="jms:${INLET}?connectionFactory=${AMQConnection}" >
            <message name="helloMessage" type="text">
                <resource file="file:D:/INPUT/${INPUT}"/>
            </message>
            <header>
                <element name="scenarioId" value="${IntegrationID}" />
                <element name="messageID" value="156666"/>
            </header>
        </send>
<receive endpoint="jms:${OUTLET}?connectionFactory=${OutletConnectionFactory}">
    <message name="helloMessage">       
    <resource file="file:D:/expectedOutput/${OUTPUT}"/> 
    </message>
    <header>
        <element name="scenarioId" value="${IntegrationID}"/>
        <element name="messageID" value="156666"/>
         NEED TO VALIDATE STATUS CODE FOR JMS AND SHOW IN REPORT
    </header>
</receive>

4

0 回答 0