JMeter 无法在本地主机上发送 CSV 数据

JMeter can't send CSV's data on localhost

我需要使用 JMeter 上的 CSV 数据集配置 在本地主机上发送多个文件。 当然,这不起作用,而且数据似乎没有发送。

事实上,我的 CSV 已被读取: 我在发送文件时得到了请求正文中的路径,但是这个文件的数据不是' t loaded 如您所见(此结果来自 à 8MB 文件):https://i.stack.imgur.com/oG5li.png

我的CSV数据集配置很好,配置很好,所以我不明白为什么只发送路径

感谢您的帮助!

我们需要看看你的HTTP Request sampler is configured in order to be able to troubleshoot the issue. It would also beneficial to ensure that CSV Data Set Config really works by checking the file path using Debug Sampler and View Results Tree listener combination

  • 如果你需要将文件内容内联到请求体你可以使用__FileToString() function

  • 如果您需要以multipart-form/data

    的形式发送文件
    • 勾选相关方框
    • 在“文件上传”选项卡中提供文件路径