Package com.lazerycode.jmeter.configuration

Examples of com.lazerycode.jmeter.configuration.JMeterArgumentsArray


   *
   * @return the list of resultFile names
   * @throws MojoExecutionException
   */
  public List<String> executeTests() throws MojoExecutionException {
    JMeterArgumentsArray thisTestArgs = baseTestArgs;
    List<String> tests = generateTestList();
    List<String> results = new ArrayList<String>();
    for (String file : tests) {
      if (remoteServerConfiguration != null) {
        if ((remoteServerConfiguration.isStartServersBeforeTests() && tests.get(0).equals(file)) || remoteServerConfiguration.isStartAndStopServersForEachTest()) {
          thisTestArgs.setRemoteStart();
          thisTestArgs.setRemoteStartServerList(remoteServerConfiguration.getServerList());
        }
        if ((remoteServerConfiguration.isStopServersAfterTests() && tests.get(tests.size() - 1).equals(file)) || remoteServerConfiguration.isStartAndStopServersForEachTest()) {
          thisTestArgs.setRemoteStop();
        }
      }
      results.add(executeSingleTest(new File(testFilesDirectory, file), thisTestArgs));
    }
    return results;
View Full Code Here

TOP

Related Classes of com.lazerycode.jmeter.configuration.JMeterArgumentsArray

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.