You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have been setting the -constant-payload flag, but I seem to be getting the default messages each time. this seems to happen with the topic set by the flag -topic-base-path(see the logs below). I am using rust's paho_mqtt for my client and mosquitto as the broker.
Here is my command: docker run --rm inovex/mqtt-stresser -broker tcp://xxxxxxx:1883 -num-clients 1 -num-messages 1 -rampup-delay 1s -rampup-size 10 -global-timeout 180s -timeout 20s -skip-tls-verification true -constant-payload hello -topic-base-path 1231asss/1212asss/event
I am using rust to deserialize the payload using the serde crate on my client side:
let report = std::str::from_utf8(payload_str);
info!("THIS IS A TEST: {:?}", report);
and this is the result from my logs:
2021-09-09T12:57:32.240024471-04:00 INFO mqtt_bin::mqttmod::mqtt_bin - do async_wait_message topic received: internal/mqtt-stresser/b262e40f3baa/worker0-722306144
2021-09-09T12:57:32.242970317-04:00 INFO mqtt_bin::mqttmod::mqtt_event_process::event_process - event_porcess_func-payload: [116, 104, 105, 115, 32, 105, 115, 32, 109, 115, 103, 32, 35, 48, 33]
2021-09-09T12:57:32.243107067-04:00 INFO mqtt_bin::mqttmod::mqtt_event_process::event_process - THIS IS A TEST: Ok("this is msg #0!")
The text was updated successfully, but these errors were encountered:
i have been setting the -constant-payload flag, but I seem to be getting the default messages each time. this seems to happen with the topic set by the flag -topic-base-path(see the logs below). I am using rust's paho_mqtt for my client and mosquitto as the broker.
Here is my command:
docker run --rm inovex/mqtt-stresser -broker tcp://xxxxxxx:1883 -num-clients 1 -num-messages 1 -rampup-delay 1s -rampup-size 10 -global-timeout 180s -timeout 20s -skip-tls-verification true -constant-payload hello -topic-base-path 1231asss/1212asss/event
I am using rust to deserialize the payload using the serde crate on my client side:
and this is the result from my logs:
The text was updated successfully, but these errors were encountered: