mqtt-jmeter icon indicating copy to clipboard operation
mqtt-jmeter copied to clipboard

Problem getting values from other samplers in subscriber

Open RamatiAriel opened this issue 7 years ago • 0 comments

Hi @hemikak , 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, Ariel

RamatiAriel avatar Sep 27 '17 11:09 RamatiAriel