Jmeter源码之TestPlan(四)

类:TestPlanGui.java
方法:createPopupMenu(){
}
截图:

主界面:


数据:
{TestElement.name=测试计划,
TestElement.gui_class=org.apache.jmeter.control.gui.TestPlanGui,
TestElement.test_class=org.apache.jmeter.testelement.TestPlan,
TestElement.enabled=true,
TestPlan.comments=,
TestPlan.functional_mode=false,
TestPlan.tearDown_on_shutdown=true,
TestPlan.serialize_threadgroups=false,
TestPlan.user_defined_variables=,
TestPlan.user_define_classpath=}
界面:

对应代码:
public TestPlanGui() {
browseJar = new FileListPanel(JMeterUtils.getResString("test_plan_classpath_browse"), ".jar"); // $NON-NLS-1$ $NON-NLS-2$
argsPanel = new ArgumentsPanel(JMeterUtils.getResString("user_defined_variables")); // $NON-NLS-1$
serializedMode = new JCheckBox(JMeterUtils.getResString("testplan.serialized")); // $NON-NLS-1$
functionalMode = new JCheckBox(JMeterUtils.getResString("functional_mode")); // $NON-NLS-1$
tearDownOnShutdown = new JCheckBox(JMeterUtils.getResString("teardown_on_shutdown"), true); // $NON-NLS-1$
init();
}

转载于:https://blog.51cto.com/13566858/2090233

你可能感兴趣的:(Jmeter源码之TestPlan(四))