`
xinglijun1973
  • 浏览: 51921 次
社区版块
存档分类
最新评论

JMeter使用 远程csv文件注意

 
阅读更多

jMeter 使用 服务器发起测试时候,读取服务器端的csv文件有些注意事项。

1)新建 “csv 数据文件设置”,文件名为 在服务器端启动 jmeter-server时候的目录下的文件,不要写绝对路径。

官网原话是:

Filename

 

Name of the file to be read. Relative file names are resolved with respect to the path of the active test plan. For distributed testing, the CSV file must be stored on the server host system in the correct relative directory to where the JMeter server is started
2)测试案例就可以直接使用 上部定义的变量了,如${card}。
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics