Giter VIP home page Giter VIP logo

Comments (6)

Hmm90 avatar Hmm90 commented on May 20, 2024

Or better need the possibility to see to content of the callback message

from mqtt-jmeter.

rende2005 avatar rende2005 commented on May 20, 2024

@Hmm90 Actually in the "separate_conn" branch of this project, we already applied the "callback" flavor APIs across connect/pub/sub sampler. With SubSampler, you can still get the messages based on either "time interval" or "count of messages".

Please give it a try at https://github.com/emqtt/mqtt-jmeter/releases/tag/v1.0.1

If this is not what you're looking for, please give us more details on your thoughts. Thanks!

from mqtt-jmeter.

Hmm90 avatar Hmm90 commented on May 20, 2024

during MQTT Connect the client is getting a callback with a uuid. Actual it is not possible to see that uuid as callback message.

from mqtt-jmeter.

rende2005 avatar rende2005 commented on May 20, 2024
  1. When connecting, sampler can specify a clientId, a random suffix can be generated if you will (to distinguish each connecting client).
  2. When CallbackConnection instance is created, it's a unique object instance, you can see sampler response message like this: "Connection org.fusesource.mqtt.client.CallbackConnection@70612f5d".

Not clear on the "uuid" concept you mentioned. Where did you see it, and what is your usage scenario?

from mqtt-jmeter.

Hmm90 avatar Hmm90 commented on May 20, 2024

I need the payload of the callnack message mqttMessage.getpayload() (org.eclipse.paho.client.mqttv3.MqttMessage)

in my case the payload contains a uuid.

from mqtt-jmeter.

rende2005 avatar rende2005 commented on May 20, 2024

We don't expect a callback message during the ordinary mqtt connection setup process.
If this is your specific scenario, feel free to extend the plugin code on your own.

from mqtt-jmeter.

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.