六.jmeter代码学习, Argument【持续更新】

JMeter API http://jmeter.apache.org/api/

Class Argument

java.lang.Object
  org.apache.jmeter.testelement.AbstractTestElement
      org.apache.jmeter.config.Argument
Field Summary
static String

ARG_NAME          

Name used to store the argument's name.

static String

DESCRIPTION                                                      

Name used to store the argument's description.

static String METADATA
          Name used to store the argument's metadata.
static String VALUE 
          Name used to store the argument's value.
Constructor Summary
Argument() 
          Create a new Argument without a name, value, or metadata.
Argument(String name, String value) 
          Create a new Argument with the specified name and value, and no metadata.
Argument(String name, String value, String metadata) 
          Create a new Argument with the specified name, value, and metadata.
Argument(String name, String value, String metadata, String description) 
          Create a new Argument with the specified name, value, and metadata.

 

Method Summary
 String getDescription() 
          Gets the Meta Data attribute of the Argument.
 String getMetaData() 
          Gets the Meta Data attribute of the Argument.
 String getName() 
          Get the name of the Argument.
 String getValue() 
          Gets the value of the Argument object.
 boolean isSkippable(String parameterName) 
          Is this parameter skippable, i.e. empty/blank string or it looks like an unrecognised variable.
 void setDescription(String description) 
          Sets the Description attribute of the Argument.
 void setMetaData(String newMetaData) 
          Sets the Meta Data attribute of the Argument.
 void setName(String newName) 
          Set the name of the Argument.
 void setValue(String newValue) 
          Sets the value of the Argument.
 String toString() 
           

你可能感兴趣的:(六.jmeter代码学习, Argument【持续更新】)