gpt4 book ai didi

csv - Jmeter - CSV 数据集配置达到 ,仅读取备用线程的值

转载 作者:行者123 更新时间:2023-12-02 18:36:22 24 4
gpt4 key购买 nike

我在 CSV 数据集配置方面遇到了一个奇怪的问题。我获取了备用线程的值以及它正在获取的备用线程 <EOF>值(value)观。

我已将测试脚本与所有相关文件共享 --> [JMeterScript.zip] : https://dl.dropboxusercontent.com/u/48816404/JMeterScript.zip

预期结果:
Thread 1 : username = p_user1, password = p_pass1, WAIT0 = 1200<br>
Thread 1 : var1 = value1, var2 = value2, var3 = value3, var4 = value4, var5 = value5, var6 = value6<br>
Thread 3 : username = p_user2, password = p_pass2, WAIT0 = 117000<br>
Thread 3 : var1 = value11, var2 = value12, var3 = value13, var4 = value14, var5 = value15, var6 = value16<br>
Thread 5 : username = p_user3, password = p_pass3, WAIT0 = 114000<br>
Thread 5 : var1 = value21, var2 = value22, var3 = value23, var4 = value24, var5 = value25, var6 = value26<br>
Thread 7 : username = p_user4, password = p_pass4, WAIT0 = 111000<br>
Thread 7 : var1 = value31, var2 = value32, var3 = value33, var4 = value34, var5 = value35, var6 = value36<br>
....

我得到的结果:
Thread 1 : username = p_user1, password = p_pass1, WAIT0 = 1200
Thread 1 : var1 = <EOF>, var2 = <EOF>, var3 = <EOF>, var4 = <EOF>, var5 = <EOF>, var6 = <EOF>
Thread 2 : username = , password = ${password}, WAIT0 = ${WAIT0}
Thread 2 : var1 = value1, var2 = value2, var3 = value3, var4 = value4, var5 = value5, var6 = value6
Thread 3 : username = p_user2, password = p_pass2, WAIT0 = 117000
Thread 3 : var1 = <EOF>, var2 = <EOF>, var3 = <EOF>, var4 = <EOF>, var5 = <EOF>, var6 = <EOF>
Thread 4 : username = , password = ${password}, WAIT0 = ${WAIT0}
Thread 4 : var1 = value11, var2 = value12, var3 = value13, var4 = value14, var5 = value15, var6 = value16
....

我正在使用 Java 7u51 和 JMeter 2.10。

如果需要任何其他详细信息,请告诉我。

欢迎任何意见/建议。

谢谢,
萨吉德

附注第一次发帖提问

最佳答案

检查 JMeter.log 以查看是否没有 FileNotFoundException,这意味着您的文件未找到。运行时您将 CSV 文件放在哪里?

您对 JMeter 的启动理由是什么?

此外,您的 CSV 在换行符和第一个字符方面也很奇怪。

关于csv - Jmeter - CSV 数据集配置达到 <EOF>,仅读取备用线程的值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22667390/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com