Forum Discussion

PrathapR's avatar
PrathapR
Frequent Contributor
5 years ago

How to connect MQTT

Hi All,

Trying to connect MQTT, through ReadyAPI(3.2.5), but getting below error.

"Error during message publishing: org.eclipse.paho.client.mqttv3.MqttSecurityException "Not authorized to connect"

 

Using server URI with port and Authentication details. And having MQTT plugin at C:/User/XXX/.soapui/plugns.

 

Please anyone help me, is anything else I'm missing.

 

Thanks in advance.

  • Hi PrathapR,

    The error says about some authorized issue. Could you please double-check that you specify the correct authorization credentials? Is it possible to specify another login? Perhaps, the one you use has some permissions limitation.

     

    If none of this help, please submit a support ticket and send them a sample project where the issue is reproduced. You can reach out to them here:

    https://support.smartbear.com/message/?prod=readyapi