public class TimeShift
extends org.apache.jmeter.functions.AbstractFunction
Parameters:
a formatted date with the specified number of (seconds, minutes, hours, days or months ) added. Value is also saved in the variable for later re-use.
| Constructor and Description |
|---|
TimeShift() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute(org.apache.jmeter.samplers.SampleResult previousResult,
org.apache.jmeter.samplers.Sampler currentSampler) |
List<String> |
getArgumentDesc() |
String |
getReferenceKey() |
void |
setParameters(Collection<org.apache.jmeter.engine.util.CompoundVariable> parameters) |
public String execute(org.apache.jmeter.samplers.SampleResult previousResult, org.apache.jmeter.samplers.Sampler currentSampler) throws org.apache.jmeter.functions.InvalidVariableException
execute in interface org.apache.jmeter.functions.Functionexecute in class org.apache.jmeter.functions.AbstractFunctionorg.apache.jmeter.functions.InvalidVariableExceptionpublic void setParameters(Collection<org.apache.jmeter.engine.util.CompoundVariable> parameters) throws org.apache.jmeter.functions.InvalidVariableException
setParameters in interface org.apache.jmeter.functions.FunctionsetParameters in class org.apache.jmeter.functions.AbstractFunctionorg.apache.jmeter.functions.InvalidVariableExceptionpublic String getReferenceKey()
getReferenceKey in interface org.apache.jmeter.functions.FunctiongetReferenceKey in class org.apache.jmeter.functions.AbstractFunctionCopyright © 1998-2020 Apache Software Foundation. All Rights Reserved.