七.jmeter代码学习,JavaSamplerContext【持续更新】Class JavaSamplerContext
parameter是什么意思啊java.lang.Object
org.apache.jmeter.protocol.java.sampler.JavaSamplerContext
Constructor Summary
JavaSamplerContext(Arguments args)
Create a new JavaSampler with the specified initialization parameters.
Method
Summary
boolean containsParameter(String name)
Determine whether or not a value has been specified for the parameter with this name.//判断该name是否已被定义
int getIntParameter(String name)
Get the value of a specified parameter as an integer.
int getIntParameter(String name, int defaultValue)
Get the value of a specified parameter as an integer, or return the specified default value if the value was not specified or is not an integer.
long getLongParameter(String name)
Get the value of a specified parameter as a long.
long getLongParameter(String name, long defaultValue)
Get the value of a specified parameter as along, or return the specified default value if the value was not specified or is not a long.
String getParameter(String name)
Get the value of a specific parameter as a String, or null if the value was not specified.
String getParameter(String name, String defaultValue)
Get the value of a specified parameter as a String, or return the specified default value if the value was not specified.
<>getParameterNamesIterator()
Get an iterator of the parameter names.
Methods inherited from class java.lang. , , , , , , , , , ,
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论