Ask a Question

MQTT how make dinamic authentication - username and password each time other value?

SOLVED
vikititor
Contributor

MQTT how make dinamic authentication - username and password each time other value?

Hello all, 

nice to have MQTT functionality covered by test steps directly in ReadyAPI.. so I dont need to use Mosquitto..

 

BUT:

How I can authenticate with my clientID and password? who was just now created? IOW: I must authenticate to MQTT but using non fixed values.. 

Can you provide me some ecample, how to achieve this?

 

OR 

is some limit - so never will work by this way?

1 ACCEPTED SOLUTION

Accepted Solutions
mattb
Staff

Re: MQTT how make dinamic authentication - username and password each time other value?

HI,

How are you authenticating? Are you applying these to Authorization headers?

If so you could add an authorization header that is dynamically passed in via get data, or property expansion. 
https://support.smartbear.com/readyapi/docs/testing/properties/get-data.html

 

View solution in original post

1 REPLY 1
mattb
Staff

Re: MQTT how make dinamic authentication - username and password each time other value?

HI,

How are you authenticating? Are you applying these to Authorization headers?

If so you could add an authorization header that is dynamically passed in via get data, or property expansion. 
https://support.smartbear.com/readyapi/docs/testing/properties/get-data.html

 

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: