apache jmeter
2017-03-06 本文已影响0人
Jansem
jmeter 动态测试接口
线程组
在使用线程组的过程中要控制好线程数量,
![](https://img.haomeiwen.com/i3029459/9c8cd1f806632563.png)
因贪玩设置了六千多,某台服务器一瞬间被搞垮,I'm so sorrrrrrrry.
数据源设置
![](https://img.haomeiwen.com/i3029459/dd93dc26079ab4ff.png)
Filename 设置定义的数据源文件,配合 variable names (多个参数时需要英文逗号隔开)
request parameter
![](https://img.haomeiwen.com/i3029459/51c296d465deb159.png)
保存 response data
![](https://img.haomeiwen.com/i3029459/e3a24bf056e34be1.png)
filename prefix 设置文件存放位置和前缀,博主设置的保存文件会以 xxxl-${id} 为文件名前缀,其中的 ${id} 中 id 会以 1 为初始值递增,文件名格式以 response data 为准,博主用到 html 和 json 等。