jms - replay queue

78 visualizações
Pular para a primeira mensagem não lida

Surendra Marthala

não lida,
25 de dez. de 2021, 10:54:5825/12/2021
para Gatling User Group
Hi All,

I am working to build a project which allows to configure multiple queues. 

This project allows to configure both requestQueue and replayqueue in


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:

===============================================================================
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    
================================================================================

Surendra Marthala

não lida,
25 de dez. de 2021, 11:02:4225/12/2021
para Gatling User Group
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,

Surendra Marthala

não lida,
25 de dez. de 2021, 11:31:1825/12/2021
para Gatling User Group
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.

Surendra Marthala

não lida,
27 de dez. de 2021, 07:54:4527/12/2021
para Gatling User Group
Any pointer is really appreciated.

Thanks,

Surendra Marthala

não lida,
31 de dez. de 2021, 03:01:1331/12/2021
para Gatling User Group

Thanks. Resolved. 
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem