Package com.eviware.soapui.impl.wsdl.loadtest.data.actions

Examples of com.eviware.soapui.impl.wsdl.loadtest.data.actions.ExportStatisticsAction


    // ButtonBarBuilder builder = new ButtonBarBuilder();
    runButton = UISupport.createToolbarButton( new RunLoadTestAction() );
    cancelButton = UISupport.createToolbarButton( new CancelRunTestCaseAction(), false );
    resetButton = UISupport.createToolbarButton( new ResetAction() );
    exportButton = UISupport.createToolbarButton( new ExportStatisticsAction( loadTest.getStatisticsModel() ) );

    statisticsGraphButton = UISupport.createToolbarButton( new ShowStatisticsGraphAction() );
    testTimesGraphButton = UISupport.createToolbarButton( new ShowTestTimesGraphAction() );

    statisticsGraphButton.setEnabled( getModelItem().getHistoryLimit() != 0 );
View Full Code Here


    }
  }

  private void exportStatistics( WsdlLoadTest loadTest ) throws IOException
  {
    ExportStatisticsAction exportStatisticsAction = new ExportStatisticsAction( loadTest.getStatisticsModel() );
    String statisticsFileName = StringUtils.createFileName( loadTest.getName(), '_' ) + "-statistics.txt";
    if( getOutputFolder() != null )
    {
      ensureOutputFolder( loadTest );
      statisticsFileName = getAbsoluteOutputFolder( loadTest ) + File.separator + statisticsFileName;
    }

    int cnt = exportStatisticsAction.exportToFile( new File( statisticsFileName ) );
    log.info( "Exported " + cnt + " statistics to [" + statisticsFileName + "]" );
  }
View Full Code Here

            log.error(e);
        }
    }

    private void exportStatistics(WsdlLoadTest loadTest) throws IOException {
        ExportStatisticsAction exportStatisticsAction = new ExportStatisticsAction(loadTest.getStatisticsModel());
        String statisticsFileName = StringUtils.createFileName(loadTest.getName(), '_') + "-statistics.txt";
        if (getOutputFolder() != null) {
            ensureOutputFolder(loadTest);
            statisticsFileName = getAbsoluteOutputFolder(loadTest) + File.separator + statisticsFileName;
        }

        int cnt = exportStatisticsAction.exportToFile(new File(statisticsFileName));
        log.info("Exported " + cnt + " statistics to [" + statisticsFileName + "]");
    }
View Full Code Here

        // ButtonBarBuilder builder = new ButtonBarBuilder();
        runButton = UISupport.createToolbarButton(new RunLoadTestAction());
        cancelButton = UISupport.createToolbarButton(new CancelRunTestCaseAction(), false);
        resetButton = UISupport.createToolbarButton(new ResetAction());
        exportButton = UISupport.createToolbarButton(new ExportStatisticsAction(loadTest.getStatisticsModel()));

        statisticsGraphButton = UISupport.createToolbarButton(new ShowStatisticsGraphAction());
        testTimesGraphButton = UISupport.createToolbarButton(new ShowTestTimesGraphAction());

        statisticsGraphButton.setEnabled(getModelItem().getHistoryLimit() != 0);
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.loadtest.data.actions.ExportStatisticsAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.