Closed trippinCode closed 6 years ago
@trippinCode thanks.. can you show how you included the vmq_mzbench worker?
@ioolkos thanks for the quick reply. Do you mean the scenario code?
#!benchDL
make_install(git = "https://github.com/erlio/vmq_mzbench.git",
branch = "master")
pool(size = 1000,
worker_type = mqtt_worker,
worker_start = poisson(1000 rps)):
connect([t(host, "217.172.184.56"),
t(port,1883),
t(client,fixed_client_id("", worker_id())),
t(clean_session,true),
t(keepalive_interval,60),
t(proto_version,4), t(reconnect_timeout,4)
])
set_signal(connect1, 1)
wait_signal(connect1, 1000)
wait(4 sec)
loop(time = 5 min, rate = 1 rps):
publish_to_self("foo", random_binary(240), 3)
disconnect()
Yes, thanks.
You don't need to do more than just include vmq_mzbench with the make_install
directive in your script file.
That should be it.
Do you try to achieve something more or different?
Also note that there is no QoS 3. (in your publish_to_self
directive).
The broker should probably reject that.
I get the error while i'm doing this.
@trippinCode Hi, do you have an idea what happens, or do you have gathered more information?
Just seen https://github.com/satori-com/mzbench/issues/134 Is this issue related?
@ioolkos yes, i wrote my own MQTT testing tool to test the brokers, so sorry for the effort.
@trippinCode no worries & apologies I couldn't be more helpful. And yay for doing your own testing tool! :smiley:
I am still getting this error with the current master branch of this repo. My scenario is the same as @trippinCode 's scenario. Are there any plans to fix the compilation issues? Thanks.
@nickfloop thanks for opening the issue.
So...
are those steps mirroring what you did? just making sure as a first step.
So i tried including your plugin in my load test and i got following Syntax error compiling