
RabbitMQ 3.9.16 Erlang 23.3.4.11
Apache-jmeter-5.3
Apache Maven 3.5.4
JDK 1.8.0_121
https://gitee.com/ishouke/jmeter-plugin-rabbitmq/tree/master
将插件及依赖类库目录下的所有.jar 文件放到 %JMETER_HOME\lib\ext目录下,然后运行JMeter
添加连接配置元件


添加消息发布插件


补充说明:
Queue Name 不为空 且 Routing Key 为空时,运行该插件时,会将自动将 Routing Key 设置为 Queue Name的值Queue Name 指定队列实际不存在时,会自动声明一个非持久化的,非排它,不自动删除的队列。MsgProperty支持以下属性(至于这些属性做啥用的,参考RabbitMQ官方文档或者网络搜索相关资料): contentTypecontentEncodingdeliveryModeprioritycorrelationIdreplyToexpirationmessageIdtimestamptypeuserIdappIdclusterIdMessage Data Type 目前仅支持String、JSON,当设置为 JSON时,会自动设置contentType为applicaton/json



