cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect MQTT

SOLVED
Highlighted
Contributor

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.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: How to connect MQTT

Hi @Redde,

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

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

5 REPLIES 5
Highlighted
Community Hero

Re: How to connect MQTT

Please check if the below link helps!
https://support.smartbear.com/readyapi/docs/soapui/steps/mqtt-drop.html


Regards,
Rao.
Highlighted
Community Manager

Re: How to connect MQTT

Thank you Rao!

 

@Redde did the article help?


Sonya Mihaljova
Community and Education Specialist
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Contributor

Re: How to connect MQTT

Hi @sonya_m & @nmrao

Thank you for your response!

 

I went through all those documents and tried before this post, no luck.

Highlighted
Community Hero

Re: How to connect MQTT

Ok.
You may connect with SmartBear customer support .


Regards,
Rao.
Highlighted
Community Manager

Re: How to connect MQTT

Hi @Redde,

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

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to change request body before sending it to the server for the TechCorner tag!


Scripts created in June:
- A script to generate a request body based on data from Datasource
- A script to go through all response nodes and check the value of the required field
- A Dispatching script to get responses based on the values in Request Body
- A script to add a new tag and assign it to all TestCases in a TestSuite
Top Kudoed Authors