Read lines from a file and split int variables.
The iterationStart() method is used to set up each set of values.
By default, the same file is shared between all threads
(and other thread groups, if they use the same file name).
The shareMode can be set to:
- All threads - default, as described above
- Current thread group
- Current thread
- Identifier - all threads sharing the same identifier
The class uses the FileServer alias mechanism to provide the different share modes.
For all threads, the file alias is set to the file name.
Otherwise, a suffix is appended to the filename to make it unique within the required context.
For current thread group, the thread group identityHashcode is used;
for individual threads, the thread hashcode is used as the suffix.
Or the user can provide their own suffix, in which case the file is shared between all
threads with the same suffix.
getDelimiter
public String getDelimiter()
getFileEncoding
public String getFileEncoding()
- Returns the file encoding.
getFilename
public String getFilename()
getQuotedData
public boolean getQuotedData()
getRecycle
public boolean getRecycle()
getShareMode
public String getShareMode()
getStopThread
public boolean getStopThread()
getVariableNames
public String getVariableNames()
- Returns the variableNames.
setDelimiter
public void setDelimiter(String delimiter)
setFileEncoding
public void setFileEncoding(String fileEncoding)
fileEncoding
- The fileEncoding to set.
setFilename
public void setFilename(String filename)
filename
- The filename to set.
setQuotedData
public void setQuotedData(boolean quoted)
setRecycle
public void setRecycle(boolean recycle)
setShareMode
public void setShareMode(String value)
setStopThread
public void setStopThread(boolean value)
setVariableNames
public void setVariableNames(String variableNames)
variableNames
- The variableNames to set.