org.apache.jmeter.control.gui.LoopControlPanel Java Examples

The following examples show how to use org.apache.jmeter.control.gui.LoopControlPanel. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JmxLoopController.java    From postman2jmx with MIT License 5 votes vote down vote up
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;
}
 
Example #2
Source File: SteppingThreadGroupGui.java    From jmeter-plugins with Apache License 2.0 5 votes vote down vote up
private JPanel createControllerPanel() {
    loopPanel = new LoopControlPanel(false);
    LoopController looper = (LoopController) loopPanel.createTestElement();
    looper.setLoops(-1);
    looper.setContinueForever(true);
    loopPanel.configure(looper);
    return loopPanel;
}
 
Example #3
Source File: UltimateThreadGroupGui.java    From jmeter-plugins with Apache License 2.0 5 votes vote down vote up
private JPanel createControllerPanel() {
    loopPanel = new LoopControlPanel(false);
    LoopController looper = (LoopController) loopPanel.createTestElement();
    looper.setLoops(-1);
    looper.setContinueForever(true);
    loopPanel.configure(looper);
    return loopPanel;
}