emqx/mqtt-jmeter

Connection disconnects immediately after subscription

LiXiaoTian1 opened this issue · 6 comments

使用该插件订阅取样器,一发出订阅请求后连接就会断开,查看对应日志订阅是成功的,但是订阅后马上就断开连接了(在disconnect之前),如果禁用掉订阅取样器在disconnect之前是不会断开的,而且用其他的工具进行订阅是没问题的,使用的是2.0.2版本
png1

脚本
这是脚本的结构

I find that there is an MQTT DisConnect, which means the connection will be disconnect after pub message. Please disable the MQTT DisConnect sampler.

I find that there is an MQTT DisConnect, which means the connection will be disconnect after pub message. Please disable the MQTT DisConnect sampler.

禁用掉MQTT DisConnect后结果是一样的

这是使用其他工具的一次正常的连接过程png2

问题解决了,相同的脚本我用旧版本1.13.0就没有这个问题了... @jinfahua

@chongyuanyin Is it a bug?