jmeter CSV变量,指的是另一个CSV
在Jmeter中,我已经定义了两个CSV数据集配置。 第一个包含一些列:
Name, Surname, Adress, ....
在第二列中,我想配置一个从第一个CSV数据集中获取值的列:
SecondName = ${Name}, Age, ...
对于第二名,我尝试了这些值,但是没有有效的结果:
${Name}
${__evalVar(Name)})
${__eval(${Name})}
${__V(${Name})}
${__groovy(vars.get("Name"))}
请您帮助我解决求解这个问题?
谢谢, 卡洛
In Jmeter I've defined two CSV Data Set Config.
First one contains some columns:
Name, Surname, Adress, ....
In the second one I would like configure a column that takes the value from the first CSV Data Set Config:
SecondName = ${Name}, Age, ...
For the SecondName I've tryied these values, but no valid result:
${Name}
${__evalVar(Name)})
${__eval(${Name})}
${__V(${Name})}
${__groovy(vars.get("Name"))}
Please could you help me to solve this issue?
Thanks,
Carlo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不能。
看看 jmeter noreferrer“> jmeter test test test test Elements执行
该解决方案将迁移到 __ csvread()请参阅 jmeter运行时文章以获取更多详细信息。
You cannot.
Take a look at JMeter Test Elements Execution Order
The solution would be migrating to __CSVRead() function, see How to Pick Different CSV Files at JMeter Runtime article for more details.