@Test public void testAdd() { System.out.println("add"); SampleResult res = new SampleResult(); res.setAllThreads(1); res.setThreadName("test 1-2"); ResponseTimesPercentilesGui instance = new ResponseTimesPercentilesGui(); instance.add(res); }
@Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } String label = res.getSampleLabel(); String aggregateLabel = "Overall Response Times"; GraphRowPercentiles row = (GraphRowPercentiles) model.get(label); GraphRowPercentiles rowAgg = (GraphRowPercentiles) modelAggregate.get(label); if (row == null) { row = (GraphRowPercentiles) getNewRow(model, AbstractGraphRow.ROW_PERCENTILES, label, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, false); } if (rowAgg == null) { rowAgg = (GraphRowPercentiles) getNewRow(modelAggregate, AbstractGraphRow.ROW_PERCENTILES, aggregateLabel, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, Color.RED, false); } row.add(res.getTime(), 1); rowAgg.add(res.getTime(), 1); updateGui(null); }
ResponseTimesPercentilesGui extends AbstractGraphPanelVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } String label = res.getSampleLabel(); String aggregateLabel = "Overall Response Times"; GraphRowPercentiles row = (GraphRowPercentiles) model.get(label); GraphRowPercentiles rowAgg = (GraphRowPercentiles) modelAggregate.get(label); if (row == null) { row = (GraphRowPercentiles) getNewRow(model, AbstractGraphRow.ROW_PERCENTILES, label, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, false); } if (rowAgg == null) { rowAgg = (GraphRowPercentiles) getNewRow(modelAggregate, AbstractGraphRow.ROW_PERCENTILES, aggregateLabel, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, Color.RED, false); } row.add(res.getTime(), 1); rowAgg.add(res.getTime(), 1); updateGui(null); } }
ResponseTimesPercentilesGui extends AbstractGraphPanelVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } String label = res.getSampleLabel(); String aggregateLabel = "Overall Response Times"; GraphRowPercentiles row = (GraphRowPercentiles) model.get(label); GraphRowPercentiles rowAgg = (GraphRowPercentiles) modelAggregate.get(label); if (row == null) { row = (GraphRowPercentiles) getNewRow(model, AbstractGraphRow.ROW_PERCENTILES, label, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, false); } if (rowAgg == null) { rowAgg = (GraphRowPercentiles) getNewRow(modelAggregate, AbstractGraphRow.ROW_PERCENTILES, aggregateLabel, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, Color.RED, false); } row.add(res.getTime(), 1); rowAgg.add(res.getTime(), 1); updateGui(null); } ResponseTimesPercentilesGui(); }
ResponseTimesPercentilesGui extends AbstractGraphPanelVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } String label = res.getSampleLabel(); String aggregateLabel = "Overall Response Times"; GraphRowPercentiles row = (GraphRowPercentiles) model.get(label); GraphRowPercentiles rowAgg = (GraphRowPercentiles) modelAggregate.get(label); if (row == null) { row = (GraphRowPercentiles) getNewRow(model, AbstractGraphRow.ROW_PERCENTILES, label, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, false); } if (rowAgg == null) { rowAgg = (GraphRowPercentiles) getNewRow(modelAggregate, AbstractGraphRow.ROW_PERCENTILES, aggregateLabel, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, Color.RED, false); } row.add(res.getTime(), 1); rowAgg.add(res.getTime(), 1); updateGui(null); } ResponseTimesPercentilesGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override void add(SampleResult res); @Override String getWikiPage(); }
ResponseTimesPercentilesGui extends AbstractGraphPanelVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } String label = res.getSampleLabel(); String aggregateLabel = "Overall Response Times"; GraphRowPercentiles row = (GraphRowPercentiles) model.get(label); GraphRowPercentiles rowAgg = (GraphRowPercentiles) modelAggregate.get(label); if (row == null) { row = (GraphRowPercentiles) getNewRow(model, AbstractGraphRow.ROW_PERCENTILES, label, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, false); } if (rowAgg == null) { rowAgg = (GraphRowPercentiles) getNewRow(modelAggregate, AbstractGraphRow.ROW_PERCENTILES, aggregateLabel, AbstractGraphRow.MARKER_SIZE_NONE, false, false, false, true, Color.RED, false); } row.add(res.getTime(), 1); rowAgg.add(res.getTime(), 1); updateGui(null); } ResponseTimesPercentilesGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override void add(SampleResult res); @Override String getWikiPage();  }