949596979899100101102103104105
break; } case 6: { // Eseguo i test per il layout di gestione dei warkaround // Verifico la presenza di tutti i file necessari Test test = new Test(); test.waTest(false); break; } case 7: { // Elimino tutti i wa html String fileSelected = (LayoutWA.listaHtml.getSelectedValue() != null) ? LayoutWA.listaHtml.getSelectedValue().toString() : null;
154155156157158159160161162163164
return treeModel; } public ValueReplacer getReplacer() { ValueReplacer replacer = new ValueReplacer( ((TestPlan)((JMeterGUIComponent) getTreeModel().getTestPlan().getArray() [0]).createTestElement()).getUserDefinedVariables()); return replacer; }
23242526272829
private Map userDefinedVariables; private boolean testValid = true; private ValueReplacer replacer; public PreCompiler() { replacer = new ValueReplacer(); }
287288289290291292293294295296297298299300
} } private void startProxy() { ValueReplacer replacer = GuiPackage.getInstance().getReplacer(); try { replacer.replaceValues(model); model.startProxy(); start.setEnabled(false); stop.setEnabled(true); restart.setEnabled(false); }
286287288289290291292293294295296297298299
126127128129130131132133134135136