Code Monkey home page Code Monkey logo

Comments (4)

firesh-bakhda avatar firesh-bakhda commented on August 10, 2024

In MQTT Publisher, the "Client ID" field is not able to retain or save any values. I enter a value in the Client ID field and if i click on any other component in the test plan and come back to the MQTT sampler, the value in the field disappears. Similarly, the "Random Suffix" check box is checked whenever the script is opened, whereas i want the checkbox to be unchecked always.

I am having the same issue too

from mqttjmeter.

firesh-bakhda avatar firesh-bakhda commented on August 10, 2024

@tuanhiep - Please do have a look at this issue. I have just downloaded the latest master branch code and the issue still persist.

from mqttjmeter.

okryvorotko avatar okryvorotko commented on August 10, 2024

I have the same issue too.

from mqttjmeter.

vraghavachari avatar vraghavachari commented on August 10, 2024

I believe this is a bug in the code. Here is how I was able to fix it.

  1. Modify the MQTTPublisherGui.java file as below.
  2. Build and generate a new mqtt-jmeter.jar and place them in your JMETER/lib/ext folder.
  3. Reopen JMeter tool.
public void configure(TestElement el) {
....
mqttUser.setEnabled(useAuth.isSelected());
mqttPwd.setEnabled(useAuth.isSelected());

    //Adding the missing "Set" for the following UI elements.
    clientId.setText(sampler.getCLIENT_ID());
    suffixClientId.setSelected(sampler.useRandomSuffix());
    this.connectionPerTopic.setSelected(sampler.isOneConnectionPerTopic());

......

}

from mqttjmeter.

Related Issues (19)

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.