red-bashmak
red-bashmak
For a publish/consume you may use `amqp("Action name").requestReply` action. Example [here](https://github.com/TinkoffCreditSystems/gatling-amqp-plugin/blob/master/src/test/scala/ru/tinkoff/gatling/amqp/examples/RequestReplyExample.scala)
For message body validation you may use various checks. For example check json body has no error field `.check( bodyString.exists, jsonPath("$.error").notExists) `
Execution on multiple hosts is possible if you create multiple protocols. And then pass to `protocols(...)` section of setUp. I havn't tested it, but this is a standard gatling mechanism,...
I use this plugin in similar to yours case with only one difference, i send message to queue exchange (not in topic exchange). Sending to Topic exchanges isn't supported yet....
This plugin has only been tested on sbt and with scala compiler 2.13. And we recommend use this with sbt. You may use our [template](https://github.com/TinkoffCreditSystems/gatling-template.g8) for create repo with performance...
It's already better than before))) You need write all imports like shown below. ```scala import io.gatling.core.Predef._ import io.gatling.core.structure.ScenarioBuilder import ru.tinkoff.gatling.amqp.Predef._ import ru.tinkoff.gatling.amqp.examples.Utils._ import ru.tinkoff.gatling.amqp.protocol.AmqpProtocolBuilder ``` And possible activate implicit conversion...
You can create secure connection if you write `com.rabbitmq.client.ConnectionFactory` by self. Something like shown bellow. ```scala val factory = new ConnectionFactory() factory.setHost("localhost") factory.setPort(5671) factory.useSslProtocol() val amqpConf: AmqpProtocolBuilder = amqp.connectionFactory(factory) ```
May you create pull request for this changes? I self can add fanout exchange to dsl later, and this appear in next version of plugin
Why there is no way to upgrade to a version after 0.5.x?