html tool

2017年11月14日星期二

转:JMeter与BeanShell的化学反应


http://dev.dafan.info/detail/218176?p=31-57


BeanShell的内置对象

对象名存在元素功能
logBeanShell Sampler 
BeanShell PreProcessor 
BeanShell PostProcessor 
BeanShell Assertion 
BeanShell Listener
日志信息输出
LabelBeanShell Sampler样例
FileNameBeanShell Sampler文件名
ParametersBeanShell Sampler参数
bsh.argsBeanShell SamplerBeanShell脚本
SampleResultBeanShell Sampler 
BeanShell Assertion 
BeanShell Listener
样例结果
ResponseCodeBeanShell Sampler 
BeanShell Assertion
返回的状态码
ResponseMessageBeanShell Sampler 
BeanShell Assertion
返回信息
IsSucessBeanShell Sampler是否成功
ctxBeanShell Sampler 
BeanShell PreProcessor 
BeanShell PostProcessor 
BeanShell Assertion 
BeanShell Listener
JMeter的上下文
varsBeanShell Sampler,BeanShell PreProcessor 
BeanShell PostProcessor 
BeanShell Assertion 
BeanShell Listener
变量操作
propsBeanShell Sampler 
BeanShell PreProcessor 
BeanShell PostProcessor 
BeanShell Assertion 
BeanShell Listener
JMeter属性
prevBeanShell PreProcessor 
BeanShell PostProcessor 
BeanShell Listener
样例的前置结果读取
samplerBeanShell PreProcessor 
BeanShell PostProcessor
当前样例
ResponseBeanShell Assertion返回的对象,读-写
FailureBeanShell Assertion是否失败
FailureMessageBeanShell Assertion失败信息
ResponseDataBeanShell Assertion返回数据体,字节形式
ResponseHeaderBeanShell Assertion返回信息头
RequestHeaderBeanShell Assertion请求信息头
SampleLabelBeanShell Assertion样例名称
SampleDataBeanShell Assertion发送至服务器的数据
SampleEventBeanShell Listener读取当前样例的事件

没有评论:

发表评论