1. 程式人生 > >Jmeter源碼之TestPlan(四)

Jmeter源碼之TestPlan(四)

Jmeter

類: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();
}

Jmeter源碼之TestPlan(四)