All Downloads are FREE. Search and download functionalities are using the official Maven repository.

automation.library.conversion2jmx.common.model.jmx.JmxLoopController Maven / Gradle / Ivy

Go to download

The 'conversion2jmx' library to helps creating JMeter JMX files from different sources

The newest version!
package automation.library.conversion2jmx.common.model.jmx;

import org.apache.jmeter.control.LoopController;
import org.apache.jmeter.control.gui.LoopControlPanel;
import org.apache.jmeter.testelement.TestElement;

public class JmxLoopController {

    public static LoopController newInstance() {
        LoopController loopController = new LoopController();
        loopController.setEnabled(true);
        loopController.setLoops(5);
        loopController.setProperty(TestElement.TEST_CLASS, LoopController.class.getName());
        loopController.setProperty(TestElement.GUI_CLASS, LoopControlPanel.class.getName());

        return loopController;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy