public void startExperimentalCampaign() throws IOException {
   for (Experiment currentExp : expList) {
     currentExp.setupProbes(cManager);
     currentExp.executeExperiment(cManager);
     currentExp.flush();
   }
 }
 private void setupExperiments() {
   File expFile = null;
   BufferedReader reader = null;
   String readed;
   String[] splitted;
   Experiment exp;
   try {
     expList = new LinkedList<Experiment>();
     expFile = new File(prefManager.getPreference("EXPERIMENT_FILE"));
     reader = new BufferedReader(new FileReader(expFile));
     while (reader.ready()) {
       readed = reader.readLine();
       if (readed != null && readed.length() > 0 && !readed.startsWith("workload_name")) {
         splitted = readed.split(",");
         if (splitted[0].endsWith(".xml")) {
           if (ExperimentType.valueOf(readed.split(",")[1]) != ExperimentType.TEST) {
             exp =
                 new Experiment(
                     new SoapXmlWorkload(
                         new File(
                             prefManager.getPreference("WORKLOAD_FOLDER") + "\\" + splitted[0]),
                         prefManager),
                     ExperimentType.valueOf(readed.split(",")[1]),
                     dbManager);
             if (!exp.canExecute()) expList.addAll(exp.getNeededTests(availableWorkloads));
             expList.add(exp);
             AppLogger.logInfo(
                 getClass(),
                 "Readed '"
                     + exp.getExpType().toString()
                     + "' experiment: "
                     + exp.getWorkload().getName());
           } else {
           } // TODO
         }
         System.out.print(".");
       }
     }
     reader.close();
   } catch (IOException ex) {
     AppLogger.logException(getClass(), ex, "Unable to load experiments");
   }
 }