Tinkoff / gatling-amqp-plugin

Plugin for support performance testing with AMQP in Gatling (3.7.x)
Apache License 2.0
33 stars 20 forks source link

If a messages could not be matched than the test should output failed counter #18

Open ehmkah opened 3 years ago

ehmkah commented 3 years ago

If I see the following before the tests finishes waiting: 0 / active: 10 / done: 230

Than the test result looks like

---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                           230 (100%)
> 800 ms < t < 1200 ms                                   0 (  0%)
> t > 1200 ms                                            0 (  0%)
> failed                                                 0 (  0%)

But it should look like (and reflect that some messages have not been processed)

---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                           230 (96%)
> 800 ms < t < 1200 ms                                   0 (  0%)
> t > 1200 ms                                            0 (  0%)
> failed                                                 10 ( 4%)
ehmkah commented 3 years ago

Problem occurs if timeout for messages has not been reached when test finishes.

One workaround is: set replyTimeout to lower value so it can timeout before test fininsh.