We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用Jmeter做MQTT设备的接口测试;添加MQTT Sub Sampler(Payload内容正确),MQTT Sub Sampler订阅的 Response Body 有重复的消息,导致Beanshell断言失败;然后查看设备及MQTT Broker返回的消息只有1条。
例:设备只返回1条信息,MQTT Broker上面看大的也是一条信息,Jmeter Response Body 显示3条一模一样的信息 {"reqId":3,"cmdId":"Lamp","cmdData":{at":"24-07-19 14:33:58","srcType":"CAT1","elec":{"current":0,"voltage":216,"factor":0,"power":0}}} {"reqId":3,"cmdId":"Lamp","cmdData":{at":"24-07-19 14:33:58","srcType":"CAT1","elec":{"current":0,"voltage":216,"factor":0,"power":0}}} {"reqId":3,"cmdId":"Lamp","cmdData":{at":"24-07-19 14:33:58","srcType":"CAT1","elec":{"current":0,"voltage":216,"factor":0,"power":0}}}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用Jmeter做MQTT设备的接口测试;添加MQTT Sub Sampler(Payload内容正确),MQTT Sub Sampler订阅的 Response Body 有重复的消息,导致Beanshell断言失败;然后查看设备及MQTT Broker返回的消息只有1条。
例:设备只返回1条信息,MQTT Broker上面看大的也是一条信息,Jmeter Response Body 显示3条一模一样的信息
{"reqId":3,"cmdId":"Lamp","cmdData":{at":"24-07-19 14:33:58","srcType":"CAT1","elec":{"current":0,"voltage":216,"factor":0,"power":0}}}
{"reqId":3,"cmdId":"Lamp","cmdData":{at":"24-07-19 14:33:58","srcType":"CAT1","elec":{"current":0,"voltage":216,"factor":0,"power":0}}}
{"reqId":3,"cmdId":"Lamp","cmdData":{at":"24-07-19 14:33:58","srcType":"CAT1","elec":{"current":0,"voltage":216,"factor":0,"power":0}}}
The text was updated successfully, but these errors were encountered: