4---采样器(Sampler)详细解析

采样器
1、那个默默干活的家伙(Sampler)
2、就像每个Controller都有自己的特点一样,每个采样器也都有自己的个性。

个性?
1、如何理解个性?
2、学习采样器需要注意哪些地方?
3、有什么方法和技巧?
HTTP Sampler 出场
1、 HTTP采样器解析
2、 AJP/1.3 Sampler 与 HTTP Sampler
3、 HTTP Sampler常规选项解析
http请求
4---采样器(Sampler)详细解析_第1张图片
4---采样器(Sampler)详细解析_第2张图片

文件下载步骤:
1.4---采样器(Sampler)详细解析_第3张图片
先给干苦力的http request添加下载文件的地址:域名:jmeter.apache.org
路径:/usermanual/jmeter_distributed_testing_step_by_step.pdf
端口号:80
再从监听器内容中添加一个保持相应的组件:
4---采样器(Sampler)详细解析_第4张图片
参数自己随便填写。
运行脚本后,从Jmeter包的bin文件中就有了下载的文件,这个路径是默认的,注意如果一直打开bin文件,则需要刷新一下。
4---采样器(Sampler)详细解析_第5张图片
指定下载路径:
4---采样器(Sampler)详细解析_第6张图片
4---采样器(Sampler)详细解析_第7张图片

你可能感兴趣的:(Jemeter)