Git Product home page Git Product logo

Comments (11)

ioolkos avatar ioolkos commented on May 30, 2024

@trippinCode thanks.. can you show how you included the vmq_mzbench worker?

from vmq_mzbench.

trippinCode avatar trippinCode commented on May 30, 2024

@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()

from vmq_mzbench.

ioolkos avatar ioolkos commented on May 30, 2024

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?

from vmq_mzbench.

ioolkos avatar ioolkos commented on May 30, 2024

Also note that there is no QoS 3. (in your publish_to_self directive).
The broker should probably reject that.

from vmq_mzbench.

trippinCode avatar trippinCode commented on May 30, 2024

I get the error while i'm doing this.

from vmq_mzbench.

ioolkos avatar ioolkos commented on May 30, 2024

@trippinCode Hi, do you have an idea what happens, or do you have gathered more information?

from vmq_mzbench.

ioolkos avatar ioolkos commented on May 30, 2024

Just seen satori-com/mzbench#134
Is this issue related?

from vmq_mzbench.

trippinCode avatar trippinCode commented on May 30, 2024

@ioolkos yes, i wrote my own MQTT testing tool to test the brokers, so sorry for the effort.

from vmq_mzbench.

ioolkos avatar ioolkos commented on May 30, 2024

@trippinCode no worries & apologies I couldn't be more helpful.
And yay for doing your own testing tool! 😃

from vmq_mzbench.

nickfloop avatar nickfloop commented on May 30, 2024

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.

from vmq_mzbench.

ioolkos avatar ioolkos commented on May 30, 2024

@nickfloop thanks for opening the issue.

So...

  1. you cloned and compiled MZBench (with what Erlang version btw?)
  2. you started MZBench and loaded an MQTT scenario file via the Web GUI
  3. and then the MZBench web GUI shows the exact same syntax error as in the comment opening this issue?

are those steps mirroring what you did? just making sure as a first step.

from vmq_mzbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.