.exec(
jms(name).requestReply
.queue("DEV.QUEUE.1")
.replyQueue("DEV.QUEUE.1")
.textMessage("hello")
.property("test_header", "test_value")
.jmsType("test_jms_type")
.check(simpleCheck(checkBodyTextCorrect)))
Test 2: Not Working
Scenario 1:
.exec(
jms(name).requestReply
.queue("DEV.QUEUE.1")
.replyQueue("DEV.QUEUE.2")
.textMessage("hello")
.property("test_header", "test_value")
.jmsType("test_jms_type")
.check(simpleCheck(checkBodyTextCorrect)))
Scenario 2:
.exec(
jms(name).requestReply
.queue("DEV.QUEUE.2")
.replyQueue("DEV.QUEUE.1")
.textMessage("hello")
.property("test_header", "test_value")
.jmsType("test_jms_type")
.check(simpleCheck(checkBodyTextCorrect)))
Output:
===============================================================================
2021-12-25 17:18:47 5s elapsed
---- Requests ------------------------------------------------------------------
> Global (OK=0 KO=2 )
> mq1 (OK=0 KO=1 )
> mq2 (OK=0 KO=1 )
---- Errors --------------------------------------------------------------------
> Reply timeout after 100 ms 2 (100.0%)
---- mq1 -----------------------------------------------------------------------
[--------------------------------------------------------------------------] 0%
waiting: 0 / active: 1 / done: 0
---- mq2 -----------------------------------------------------------------------
[--------------------------------------------------------------------------] 0%
waiting: 0 / active: 1 / done: 0
================================================================================