randomsync / robotframework-mqttlibrary

MQTT Keyword Library for Robot Framework
Apache License 2.0
25 stars 30 forks source link

"Subscribe and Validate"The expected payload didn't arrive in the topic #18

Closed Rahulverma1407 closed 4 years ago

Rahulverma1407 commented 4 years ago

I have installed locally mosquitto server in my local machine . Below code I am running but getting error .For publish message it works fine , for Subscribe also I am able to get expected payload but with Subscribe and Validate only getting this issue.

"The expected payload didn't arrive in the topic" ----------------------------------------------------"

Settings Library MQTTLibrary

Test Cases Publish Connect 127.0.0.1 Publish topic=test/mqtt_test message=test [Teardown] Disconnect

Subscribe and Validate Connect 127.0.0.1 Subscribe and Validate topic=test/mqtt_test qos=1 payload=test [Teardown] Disconnect

Rahulverma1407 commented 4 years ago

It has been resolved!!