com.lazerycode.jmeter.configuration
Class JMeterArgumentsArray

java.lang.Object
  extended by com.lazerycode.jmeter.configuration.JMeterArgumentsArray

public class JMeterArgumentsArray
extends Object

Creates an arguments array to pass to the JMeter object to run tests.

Author:
Mark Collin

Constructor Summary
JMeterArgumentsArray(String reportDirectory)
          The argument map will define which arguments are set on the command line.
 
Method Summary
 String[] buildArgumentsArray()
           
 String getProxyDetails()
           
 String getResultsFileName()
           
 void setACustomPropertiesFile(File value)
           
 void setASystemPropertiesFile(File value)
          Deprecated. 
 void setGlobalProperties(Map<String,String> value)
          Deprecated. 
 void setJMeterHome(String value)
           
 void setLogCategoriesOverrides(Map<String,String> value)
           
 void setLogRootOverride(String value)
           
 void setNonProxyHosts(String value)
           
 void setProxyConfig(ProxyConfig proxyConfig)
           
 void setProxyHostDetails(String value, int port)
           
 void setProxyPassword(String value)
           
 void setProxyUsername(String value)
           
 void setRemoteProperties(Map<String,String> value)
          Deprecated. 
 void setRemotePropertiesFile(File value)
          Deprecated. 
 void setRemoteStart(String value)
           
 void setRemoteStartAll(boolean value)
           
 void setRemoteStop(boolean value)
           
 void setResultsTimestamp(boolean value)
           
 void setSystemProperties(Map<String,String> value)
          Deprecated. 
 void setTestFile(File value)
           
 void setUserProperties(Map<String,String> value)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMeterArgumentsArray

public JMeterArgumentsArray(String reportDirectory)
The argument map will define which arguments are set on the command line. The order properties are initially put into the argument map defines the order they are returned in the array produced by this class.

Method Detail

setRemoteStop

public void setRemoteStop(boolean value)

setRemoteStartAll

public void setRemoteStartAll(boolean value)

setRemoteStart

public void setRemoteStart(String value)

setNonProxyHosts

public void setNonProxyHosts(String value)

setProxyConfig

public void setProxyConfig(ProxyConfig proxyConfig)

setProxyHostDetails

public void setProxyHostDetails(String value,
                                int port)

setProxyUsername

public void setProxyUsername(String value)

setProxyPassword

public void setProxyPassword(String value)

setACustomPropertiesFile

public void setACustomPropertiesFile(File value)

setASystemPropertiesFile

@Deprecated
public void setASystemPropertiesFile(File value)
Deprecated. 


setUserProperties

@Deprecated
public void setUserProperties(Map<String,String> value)
Deprecated. 


setGlobalProperties

@Deprecated
public void setGlobalProperties(Map<String,String> value)
Deprecated. 


setRemoteProperties

@Deprecated
public void setRemoteProperties(Map<String,String> value)
Deprecated. 


setRemotePropertiesFile

@Deprecated
public void setRemotePropertiesFile(File value)
Deprecated. 


setLogCategoriesOverrides

public void setLogCategoriesOverrides(Map<String,String> value)

setLogRootOverride

public void setLogRootOverride(String value)

setSystemProperties

@Deprecated
public void setSystemProperties(Map<String,String> value)
Deprecated. 


setTestFile

public void setTestFile(File value)

setJMeterHome

public void setJMeterHome(String value)

setResultsTimestamp

public void setResultsTimestamp(boolean value)

getResultsFileName

public String getResultsFileName()

getProxyDetails

public String getProxyDetails()

buildArgumentsArray

public String[] buildArgumentsArray()
                             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2012. All Rights Reserved.