|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.jmeter.functions.AbstractFunction | +--org.apache.jmeter.functions.CSVRead
Field Summary | |
protected static List |
desc
|
protected static FileDataContainer |
fileData
|
protected static org.apache.log.Logger |
log
|
protected BufferedReader |
myBread
|
protected String |
myName
|
protected String |
myValue
|
protected boolean |
reopenFile
|
protected static Hashtable |
threadData
|
protected Object[] |
values
|
Constructor Summary | |
CSVRead()
|
Method Summary | |
Object |
clone()
|
String |
execute(SampleResult previousResult,
Sampler currentSampler)
Given the previous SampleResult and the current Sampler, return a string to use as a replacement value for the function call. |
List |
getArgumentDesc()
Return a list of strings briefly describing each parameter your function takes. |
protected FileDataContainer |
getFileData(String fileName)
get the FileDataContainer |
protected String |
getId()
reset - resets the file - so the file is read in the next iteration |
String |
getReferenceKey()
Return the name of your function. |
protected static Hashtable |
getThreadData()
Insert the method's description here. |
protected ArrayList |
reloadCurrentLine()
Deprecated. |
protected void |
reset()
reset - resets the file - so the file is read in the next iteration |
protected void |
setFileData(FileDataContainer newValue)
Set the FileDataContainer. |
void |
setParameters(Collection parameters)
A collection of the parameters used to configure your function. |
void |
storeCurrentLine(ArrayList currentLine)
Deprecated. |
Methods inherited from class org.apache.jmeter.functions.AbstractFunction |
execute, getVariables, parseArguments |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static transient org.apache.log.Logger log
protected static final List desc
protected static FileDataContainer fileData
protected String myValue
protected String myName
protected Object[] values
protected BufferedReader myBread
protected boolean reopenFile
protected static Hashtable threadData
Constructor Detail |
public CSVRead()
Method Detail |
public Object clone()
clone
in class Object
public String execute(SampleResult previousResult, Sampler currentSampler) throws InvalidVariableException
Function
execute
in interface Function
execute
in class AbstractFunction
InvalidVariableException
Function.execute(SampleResult, Sampler)
public List getArgumentDesc()
Function
getArgumentDesc
in interface Function
Function.getArgumentDesc()
protected FileDataContainer getFileData(String fileName) throws IOException
IOException
protected String getId()
public String getReferenceKey()
Function
getReferenceKey
in interface Function
getReferenceKey
in class AbstractFunction
Function.getReferenceKey()
protected static Hashtable getThreadData()
protected ArrayList reloadCurrentLine() throws InvalidVariableException
InvalidVariableException
protected void reset()
protected void setFileData(FileDataContainer newValue)
public void setParameters(Collection parameters) throws InvalidVariableException
Function
setParameters
in interface Function
setParameters
in class AbstractFunction
InvalidVariableException
Function.setParameters(Collection)
public void storeCurrentLine(ArrayList currentLine) throws InvalidVariableException
InvalidVariableException
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |