When trying to get values for the Subscriber from other samplers before running the Mqtt Subscriber (using "${value}" for example) there is a problem-
it seems that the subscriber is initializing when the thread is starting and not when the sampler is activated, thus the value are not set yet and the subscription fail.
i think the right behaviour should be to start the initClient in the sample method instead of the startThread method - the same goes regarding the "subscribe".
if my analysis is not right i'll be glad if you could explain why the current behaviour is the right one.
When trying to get values for the Subscriber from other samplers before running the Mqtt Subscriber (using "${value}" for example) there is a problem- it seems that the subscriber is initializing when the thread is starting and not when the sampler is activated, thus the value are not set yet and the subscription fail. i think the right behaviour should be to start the initClient in the sample method instead of the startThread method - the same goes regarding the "subscribe". if my analysis is not right i'll be glad if you could explain why the current behaviour is the right one.
Thanks, Hemika