Class SampleContext
java.lang.Object
org.apache.jmeter.report.processor.SampleContext
Defines the context in which
SampleConsumer
, SampleProducer
will operate- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Gets the data storage.final File
Return the root directory that consumers are authorized to use for intermediate work.
SampleConsumers are encourage to create their own work directories beneath this root work directoryfinal void
setWorkingDirectory
(File workingDirectory) Sets the work directory.
-
Constructor Details
-
SampleContext
public SampleContext()
-
-
Method Details
-
getWorkingDirectory
Return the root directory that consumers are authorized to use for intermediate work.
SampleConsumers are encourage to create their own work directories beneath this root work directory- Returns:
- A file pointing to an existing directory
-
setWorkingDirectory
Sets the work directory.- Parameters:
workingDirectory
- the new working directory
-
getData
Gets the data storage.- Returns:
- the data
-