|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.config.ConfigTestElement
org.apache.jmeter.protocol.http.util.HTTPFileArgs
A set of HTTPFileArg objects.
| Field Summary |
| 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 | |
HTTPFileArgs()
Create a new HTTPFileArgs object with no files. |
|
| Method Summary | |
void |
addEmptyHTTPFileArg()
Add a new empty file to the list. |
void |
addHTTPFileArg(HTTPFileArg file)
Add a new file. |
void |
addHTTPFileArg(String path)
Add a new file with the given path. |
void |
addHTTPFileArg(String path,
String param,
String mime)
adds a new File to the HTTPFileArgs list to be uploaded with http request. |
HTTPFileArg[] |
asArray()
Get the current arguments as an array. |
void |
clear()
Clear the files. |
HTTPFileArg |
getHTTPFileArg(int row)
Get a single file. |
int |
getHTTPFileArgCount()
Get the number of files in the list. |
CollectionProperty |
getHTTPFileArgsCollection()
Get the files. |
PropertyIterator |
iterator()
Get a PropertyIterator of the files. |
void |
removeAllHTTPFileArgs()
Remove all files from the list. |
void |
removeHTTPFileArg(HTTPFileArg file)
Remove the specified file from the list. |
void |
removeHTTPFileArg(int row)
Remove the specified file from the list. |
void |
removeHTTPFileArg(String filePath)
Remove the file with the specified path. |
void |
setHTTPFileArgs(List files)
Set the list of files. |
String |
toString()
Create a string representation of the files. |
| Methods inherited from class org.apache.jmeter.config.ConfigTestElement |
addConfigElement, addTestElement, expectsModification |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.jmeter.config.ConfigElement |
clone |
| Constructor Detail |
public HTTPFileArgs()
| Method Detail |
public CollectionProperty getHTTPFileArgsCollection()
public void clear()
clear in interface TestElementclear in class AbstractTestElementpublic void setHTTPFileArgs(List files)
files - the new filespublic void addHTTPFileArg(String path)
path - the path of the filepublic void addHTTPFileArg(HTTPFileArg file)
file - the new file
public void addHTTPFileArg(String path,
String param,
String mime)
path - file full path.param - http parameter name.mime - mime type of file.public PropertyIterator iterator()
public HTTPFileArg[] asArray()
public String toString()
public void removeHTTPFileArg(int row)
row - the index of the file to removepublic void removeHTTPFileArg(HTTPFileArg file)
file - the file to removepublic void removeHTTPFileArg(String filePath)
filePath - the path of the file to removepublic void removeAllHTTPFileArgs()
public void addEmptyHTTPFileArg()
public int getHTTPFileArgCount()
public HTTPFileArg getHTTPFileArg(int row)
row - the index of the file to return.
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||