Search in sources :

Example 46 with Arguments

use of org.apache.jmeter.config.Arguments in project ACS by ACS-Community.

the class T13Sampler method getDefaultParameters.

/**
	 * Provide a list of parameters which this test supports.  Any
	 * parameter names and associated values returned by this method
	 * will appear in the GUI by default so the user doesn't have
	 * to remember the exact names.  The user can add other parameters
	 * which are not listed here.  If this method returns null then
	 * no parameters will be listed.  If the value for some parameter
	 * is null then that parameter will be listed in the GUI with
	 * an empty value.
	 * 
	 * @return  a specification of the parameters used by this
	 *           test which should be listed in the GUI, or null
	 *           if no parameters should be listed.
	 */
public Arguments getDefaultParameters() {
    Arguments params = new Arguments();
    params.addArgument("ThreadNum", "${__threadNum}");
    params.addArgument(TEST_PREFIX, TEST);
    params.addArgument("NoOfDevices", String.valueOf(DEV_COUNT));
    return params;
}
Also used : Arguments(org.apache.jmeter.config.Arguments)

Example 47 with Arguments

use of org.apache.jmeter.config.Arguments in project ACS by ACS-Community.

the class T21Sampler method getDefaultParameters.

/**
	 * Provide a list of parameters which this test supports.  Any
	 * parameter names and associated values returned by this method
	 * will appear in the GUI by default so the user doesn't have
	 * to remember the exact names.  The user can add other parameters
	 * which are not listed here.  If this method returns null then
	 * no parameters will be listed.  If the value for some parameter
	 * is null then that parameter will be listed in the GUI with
	 * an empty value.
	 * 
	 * @return  a specification of the parameters used by this
	 *           test which should be listed in the GUI, or null
	 *           if no parameters should be listed.
	 */
public Arguments getDefaultParameters() {
    Arguments params = new Arguments();
    params.addArgument("ThreadNum", "${__threadNum}");
    params.addArgument(TEST_PREFIX, TEST);
    params.addArgument("SizeOfSet", String.valueOf(SIZE_OF_SET));
    return params;
}
Also used : Arguments(org.apache.jmeter.config.Arguments)

Example 48 with Arguments

use of org.apache.jmeter.config.Arguments in project ACS by ACS-Community.

the class T22Sampler method getDefaultParameters.

/**
	 * Provide a list of parameters which this test supports.  Any
	 * parameter names and associated values returned by this method
	 * will appear in the GUI by default so the user doesn't have
	 * to remember the exact names.  The user can add other parameters
	 * which are not listed here.  If this method returns null then
	 * no parameters will be listed.  If the value for some parameter
	 * is null then that parameter will be listed in the GUI with
	 * an empty value.
	 * 
	 * @return  a specification of the parameters used by this
	 *           test which should be listed in the GUI, or null
	 *           if no parameters should be listed.
	 */
public Arguments getDefaultParameters() {
    Arguments params = new Arguments();
    params.addArgument("ThreadNum", "${__threadNum}");
    params.addArgument(TEST_PREFIX, TEST);
    params.addArgument("SizeOfSet", String.valueOf(SIZE_OF_SET));
    params.addArgument("Delay", String.valueOf(DELAY));
    return params;
}
Also used : Arguments(org.apache.jmeter.config.Arguments)

Example 49 with Arguments

use of org.apache.jmeter.config.Arguments in project ACS by ACS-Community.

the class T26Sampler method getDefaultParameters.

/**
	 * Provide a list of parameters which this test supports.  Any
	 * parameter names and associated values returned by this method
	 * will appear in the GUI by default so the user doesn't have
	 * to remember the exact names.  The user can add other parameters
	 * which are not listed here.  If this method returns null then
	 * no parameters will be listed.  If the value for some parameter
	 * is null then that parameter will be listed in the GUI with
	 * an empty value.
	 * 
	 * @return  a specification of the parameters used by this
	 *           test which should be listed in the GUI, or null
	 *           if no parameters should be listed.
	 */
public Arguments getDefaultParameters() {
    Arguments params = new Arguments();
    params.addArgument("ThreadNum", "${__threadNum}");
    params.addArgument("SizeOfSet", String.valueOf(SIZE_OF_SET));
    return params;
}
Also used : Arguments(org.apache.jmeter.config.Arguments)

Example 50 with Arguments

use of org.apache.jmeter.config.Arguments in project ACS by ACS-Community.

the class JMeterSampler method getDefaultParameters.

/* (non-Javadoc)
	 * @see org.apache.jmeter.protocol.java.sampler.JavaSamplerClient#getDefaultParameters()
	 */
public Arguments getDefaultParameters() {
    Arguments args = new Arguments();
    args.addArgument("RemoteConcurrentFactory", "//localhost/RemoteConcurrentFactory");
    args.addArgument("CyclicBarrierName", "cyclicBarrier");
    args.addArgument("Parties", "ENTER NUMBER OF PARTIES");
    return args;
}
Also used : Arguments(org.apache.jmeter.config.Arguments)

Aggregations

Arguments (org.apache.jmeter.config.Arguments)75 Test (org.junit.Test)27 HTTPSamplerBase (org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase)18 SampleResult (org.apache.jmeter.samplers.SampleResult)15 Argument (org.apache.jmeter.config.Argument)13 HTTPArgument (org.apache.jmeter.protocol.http.util.HTTPArgument)9 JMeterProperty (org.apache.jmeter.testelement.property.JMeterProperty)7 ConfigTestElement (org.apache.jmeter.config.ConfigTestElement)5 HTTPFileArg (org.apache.jmeter.protocol.http.util.HTTPFileArg)5 JMeterTreeNode (org.apache.jmeter.gui.tree.JMeterTreeNode)3 TestElement (org.apache.jmeter.testelement.TestElement)3 TestPlan (org.apache.jmeter.testelement.TestPlan)3 TestElementProperty (org.apache.jmeter.testelement.property.TestElementProperty)3 File (java.io.File)2 Iterator (java.util.Iterator)2 InvalidVariableException (org.apache.jmeter.functions.InvalidVariableException)2 HTTPFileArgs (org.apache.jmeter.protocol.http.util.HTTPFileArgs)2 ResultCollector (org.apache.jmeter.reporters.ResultCollector)2 CollectionProperty (org.apache.jmeter.testelement.property.CollectionProperty)2 JMeterVariables (org.apache.jmeter.threads.JMeterVariables)2