Alex Rudyy created QPID-4362:
--------------------------------

             Summary: Performance test charting: support the configuration of 
optional series
                 Key: QPID-4362
                 URL: https://issues.apache.org/jira/browse/QPID-4362
             Project: Qpid
          Issue Type: Improvement
          Components: Java Performance Tests
    Affects Versions: 0.19
            Reporter: Alex Rudyy
            Assignee: Alex Rudyy
             Fix For: 0.19


Allow configuring of optional chart series.
The supplied chart definitions have configuration for base line data.
In case when base line data is not available the Exception is reported
{noformat}
2012-10-09 23:23:44,587 INFO [main] [ChartingUtil] Charting complete
Exception in thread "main" org.apache.qpid.disttest.charting.ChartingException: 
Failed to create chart dataset
        at 
org.apache.qpid.disttest.charting.seriesbuilder.JdbcCsvSeriesBuilder.buildDataSetForSingleSeries(JdbcCsvSeriesBuilder.java:90)
        at 
org.apache.qpid.disttest.charting.seriesbuilder.JdbcCsvSeriesBuilder.build(JdbcCsvSeriesBuilder.java:56)
        at 
org.apache.qpid.disttest.charting.chartbuilder.XYDataSetBasedChartBuilder.buildChart(XYDataSetBasedChartBuilder.java:95)
        at 
org.apache.qpid.disttest.charting.ChartingUtil.produceAllCharts(ChartingUtil.java:100)
        at 
org.apache.qpid.disttest.charting.ChartingUtil.main(ChartingUtil.java:75)
Caused by: java.sql.SQLException: Cannot open data file 
'/home/a_qpid/jenkins/workspace/Qpid-PerfTests-TestExecution/perfbaseline/QueueConsumersWithNonOverlappingSelectors.csv'
  !
        at 
org.relique.jdbc.csv.CsvStatement.executeParsedQuery(CsvStatement.java:357)
        at org.relique.jdbc.csv.CsvStatement.executeQuery(CsvStatement.java:332)
        at 
org.apache.qpid.disttest.charting.seriesbuilder.JdbcCsvSeriesBuilder.buildDataSetForSingleSeries(JdbcCsvSeriesBuilder.java:73)
        ... 4 more
{noformat}

It would be nice to mark the base line series as optional in order to render 
base line graph only in cases when data is actually available. When data is not 
available the optional chart series can be ignored by the chart building 
utility.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to