jms - replay queue

Hi All,

I am working to build a project which allows to configure multiple queues.
https://github.com/maarthala/gatling-ibm-mq/tree/develop

This project allows to configure both requestQueue and replayqueue in

https://github.com/maarthala/gatling-ibm-mq/blob/develop/src/gatling/resources/dev/mq.json

Any help will be really appreciated. Thanks

Test 1: Works
Scenario 1:

.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:

Hi Again,
Scenario 1 : Put message in DEV.QUEUE.1 and wait for message in DEV.QUEUE.2 from Scenario 2
Scenaio 2: Put message in DEV.QUEUE.2 and wait for message in DEV.QUEUE.1 from Scenario 1

Regards,

Another Observation:
If I have lets say 5K message in DEV.QUEUE.2 already, Scenarion 1: is reading all messages but sending only 1 message to DEV.QUEUE.1.

Any pointer is really appreciated.

Thanks,

Thanks. Resolved.