Вот шаги. xml
<?xml version="1.0" encoding="UTF-8"?>
<spring:beans
xmlns="http://www.citrusframework.org/schema/cucumber/testcase"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:citrus="http://www.citrusframework.org/schema/testcase"
xsi:schemaLocation= "
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-
beans.xsd
http://www.citrusframework.org/schema/cucumber/testcase
http://www.citrusframework.org/schema/cucumber/testcase/citrus-cucumber-testcase.xsd ">
<spring:import resource="Template.xml" />
<step when="^Data is sent with keyfields as \"([^\"]*)\" with \"
([^\"]*)\" and \"([^\"]*)\"$"
parameter-names="ScenarioName,CountryCode,InstanceId">
<citrus:call-template name="Put_Message">
<citrus:parameter name="COUNTRYCODE"
value="${CountryCode}" />
<citrus:parameter name="INSTANCEID"
value="${InstanceId}" />
<citrus:parameter name="SCENARIONAME"
value="${ScenarioName}" />
</citrus:call-template>
<citrus:echo>
<citrus:message>Message sent to to the Queue Successfully</citrus:message>
</citrus:echo>
</step>
<step then="^Receive message from Target Queue">
<citrus:call-template name="GET_Message">
<citrus:parameter name="Queue_Name"
value="CITRUS.IN" />
</citrus:call-template>
<citrus:echo>
<citrus:message>Received message from Target queue and validated</citrus:message>
</citrus:echo>
</step>
</spring:beans>
Я не знаю, что вызывает проблему. кто-нибудь может предложить мне, что делать.