| |
|
| java.lang.Object org.apache.jmeter.functions.AbstractFunction org.apache.jmeter.functions.StringFromFile
StringFromFile | public class StringFromFile extends AbstractFunction implements Serializable,TestListener(Code) | | StringFromFile Function to read a String from a text file.
Parameters:
- file name
- variable name (optional - defaults to StringFromFile_)
Returns:
- the next line from the file
- or **ERR** if an error occurs
- value is also saved in the variable for later re-use.
Ensure that different variable names are used for each call to the function
Notes:
- JMeter instantiates a copy of each function for every reference in a
Sampler or elsewhere; each instance will open its own copy of the the file
- the file name is resolved at file (re-)open time
- the output variable name is resolved every time the function is invoked
|
StringFromFile | public StringFromFile()(Code) | | |
getArgumentDesc | public List getArgumentDesc()(Code) | | |
testEnded | public void testEnded()(Code) | | |
testStarted | public void testStarted()(Code) | | |
|
|
|