title: jMeter - invoking jmx operations
body: <p>I want to use jMeter in order to monitor some Java components using the jmx-enabled capability. I have created a test plan and is possible to read jmx metrix within jMeter using JMXMon Samples Collector.</p>
  
  <p>Any ideas how can I invoke jmx operations from jMeter? I would like to invoke a jmx operation which is resetting some values.</p>
  
  <pre><code>// this is an operation that shows up in the operations tab in jconsole.
  @JmxOperation(description = "Reset number of tries")
  public String resetNumberOfTries() {
      nrOfTries = 0;
      return "The total number of tries was reset!";
  }
  </code></pre>
  
  <p>How can I call this method from jMeter? Is it any plugin available?   </p>