Jmeter性能测试工具学习(6.采样器详细解析)

采样器(Sampler)

  主要工作的组件

  每个采样器都有自己的“个性”和特点

 

个性?

1、每种采样器对应相应的协议    

2、在采样器背后都是网络协议的包装

3、学好采样器关键的点要了解相应的协议 

 

常规设置

1、采样器默认实现 –查看 jmeter.httpsampler

 

2、文件的上传和下载

3、 默认解析器是:htmlparser 通过查看htmlparser.classname

4、通过设置 Retrieve All Embedded Resources from HTML Files 和 Use concurrent pool更 真实的模拟负载。

5、 URLs must match If present, this must be a regular expression that is used to match against any embedded URLs found. So if you only want to download embedded resources from http://example.com/, use the expression: http://example\.com/.*

6、 IP欺骗

7、file协议

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值