八.jmeter代码学习, Arguments【持续更新】

Class Arguments

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

ARGUMENTS
          The name of the property used to store the arguments.

//存储参数

 

Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME

 

Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS

 

Constructor Summary
Arguments() 
          Create a new Arguments object with no arguments.

 

Method Summary
 void addArgument(Argument arg) 
          Add a new argument.
 void addArgument(String name, String value) 
          Add a new argument with the given name and value.
 void addArgument(String name, String value, String metadata) 
          Add a new argument with the given name, value, and metadata.
 void addEmptyArgument() 
          Add a new empty argument to the list.
 void clear() 
          Clear the arguments.
 Argument getArgument(int row) 
          Get a single argument.
 int getArgumentCount() 
          Get the number of arguments in the list.
 CollectionProperty getArguments() 
          Get the arguments.
 Map<String,String> getArgumentsAsMap() 
          Get the arguments as a Map.
 PropertyIterator iterator() 
          Get a PropertyIterator of the arguments.
 void removeAllArguments() 
          Remove all arguments from the list.
 void removeArgument(Argument arg) 
          Remove the specified argument from the list.
 void removeArgument(int row) 
          Remove the specified argument from the list.
 void removeArgument(String argName) 
          Remove the argument with the specified name.
 void setArguments(List<Argument> arguments) 
          Set the list of arguments.
 String toString() 
          Create a string representation of the arguments.

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