当前位置:网站首页>jmeter跨平台运行csv等文件
jmeter跨平台运行csv等文件
2022-08-04 00:28:00 【俊先】
1、为什么需要跨平台运行文件?
- Window 下写的文件路径到了 Linux 下运行导致无法正常读取 CSV 文件
2、如何解决?
把文件放到Jmeter的bin目录下
- . 使用jmeter属性,使用属性需要用到: __P()函数

- 查看Jmeter所有的属性:测试计划->非配置元件->属性显示


因此
user.dir代表的是Jmeter 安装路径下的 bin 目录
file.separator代表的是路径分隔符
3、需要注意
- CSV 文件必须在 Jmeter 的 bin 目录下创建,然后再添加自己要的数据
- Jmeter 必须从 bin 目录下启动,不能通过 cmd,否则会有问题(user.dir显示的是当前cmd路径)

边栏推荐
- dynamic memory two
- 迭代扩展卡尔曼滤波IEKF
- Sqlnet. Ora file with the connection of authentication test
- 绕任意轴旋转矩阵推导
- Nanoprobes Alexa Fluor 488 FluoroNanogold 偶联物
- 【面经】被虐了之后,我翻烂了equals源码,总结如下
- [Miscellaneous] How to install the specified font into the computer and then use the font in the Office software?
- 【每日一题】899. 有序队列
- win10+cuda11.7+pytorch1.12.0安装
- C语言实验十四 结构体
猜你喜欢
随机推荐
手撕Gateway源码,今日撕工作流程、负载均衡源码
RSS订阅微信公众号初探-feed43
2023年第六届亚太应用数学与统计学国际会议(AMS 2023)
win10+cuda11.7+pytorch1.12.0 installation
智能管理PoE交换机
Read FastDFS in one article
It will invest about 200 billion US dollars in the United States in 20 years, and Samsung Electronics looks so handsome
查看CUDA、pytorch等的版本号
c语言分层理解(c语言操作符)
【杂项】如何将指定字体装入电脑然后能在Office软件里使用该字体?
POE交换机全方位解读(上)
七夕佳节即将来到,VR全景云游为你神助攻
LeetCode第三题(Longest Substring Without Repeating Characters)三部曲之三:两次优化
迭代扩展卡尔曼滤波IEKF
初始 List 接口
A Preliminary Study of RSS Subscription to WeChat Official Account-feed43
2022-08-03: What does the following go code output?A: 2; B: 3; C: 1; D: 0.package main import "fmt" func main() { slice := []i
Justin Sun: Web3.0 and the Metaverse will assist mankind to enter the online world more comprehensively
我的祖国
nodeJs--async/await









