Sampler/采集取样器
介绍几种常用的Sampler:HTTP请求、FTP请求、BeanShell Sampler、WebSocket Sampler
1、HTTP请求
补上说明:协议可以是http和https。
2、FTP请求
建议:1.FTP请求使用“用表格查看结果”监听器查看结果,更加直观;2.勾选二进制模式,是防止出现编码问题(windows和linux之间)
3、BeanShell Sampler

4、WebSocket Sampler
此处略过,后面写一篇使用jmeter进行WebSocket测试的文章
网友评论