Examples of PerfTestConfiguration


Examples of org.camunda.bpm.qa.performance.engine.framework.PerfTestConfiguration

      FileInputStream propertyInputStream = null;
      try {
        propertyInputStream = new FileInputStream(file);
        Properties properties = new Properties();
        properties.load(propertyInputStream);
        perfTestConfiguration = new PerfTestConfiguration(properties);
      } catch(Exception e) {
        throw new PerfTestException("Cannot load properties from file "+PROPERTY_FILE_NAME+": "+e);

      } finally {
        IoUtil.closeSilently(propertyInputStream);
View Full Code Here

Examples of org.camunda.bpm.qa.performance.engine.framework.PerfTestConfiguration

  public void setup() {
    engine = processEngineRule.getProcessEngine();
  }

  protected PerfTestBuilder performanceTest() {
    PerfTestConfiguration configuration = testConfigurationRule.getPerformanceTestConfiguration();
    configuration.setPlatform("camunda BPM");
    return new PerfTestBuilder(configuration, resultRecorderRule);
  }
View Full Code Here

Examples of org.camunda.bpm.qa.performance.engine.framework.PerfTestConfiguration

  }

  protected List<Object> processRow(PerfTestResult passResult, PerfTestResults results) {
    List<Object> row = new ArrayList<Object>();
    PerfTestConfiguration configuration = results.getConfiguration();
   
    // test name
    row.add(results.getTestName());

    // number of runs
    int numberOfRuns = configuration.getNumberOfRuns();
    row.add(numberOfRuns);
   
    // database
    row.add(configuration.getDatabaseName());
   
    // history level
    row.add(configuration.getHistoryLevel());
   
    // start time
    row.add(configuration.getStartTime());
   
    // platform
    row.add(configuration.getPlatform());
   
    // number of threads
    row.add(passResult.getNumberOfThreads());
   
    // add duration
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.