// Visualizer visualizer = new GraphVisualizer();
// ResultCollectorHelper resultCollectorHelper = new ResultCollectorHelper(resultCollector, visualizer);
// SaveService.loadTestResults(fis, resultCollectorHelper);
// resultCollector.loadExistingFile();
ResultCollector rc = new ResultCollector();
rc.setFilename(jtlFilePath);
rc.setListener(new Visualizer() {
public void add(SampleResult sample) {
results.add(sample);
}
public boolean isStats() {
return false;
}
});
rc.loadExistingFile();
for (SampleResult r : results) {
try {
handle(r);
} catch (IllegalArgumentException e) {