【发布时间】:2017-06-09 09:54:55
【问题描述】:
我正在尝试找到如何编码换行符或如何为 jmeter 格式化我的 csv 输入。
我需要传递 1000 个这样的表单数据:
`--custom_boundary 内容处置:表单数据; name="textualQuery"
荷兰的转基因生物 --custom_boundary 内容处置:表单数据;名称="搜索配置文件"
通用 --custom_boundary 内容处置:表单数据; name="targetCollections"
http://myorganization.org/publications/ --custom_boundary 内容处置:表单数据; name="semanticAndMember"
http://myorganization.org/Taxonomy/Topics#T6583 --custom_boundary 内容处置:表单数据; name="resultStartsAt"
1 --custom_boundary 内容处置:表单数据; name="resultEndsAt"
10 --custom_boundary 内容处置:表单数据;名称="精度"
4 --custom_boundary 内容处置:表单数据; name="dateFrom"
2010-01-01 --custom_boundary-- `
我知道如何处理 csv 列并在 JMeter 中获取参数,但我尝试将换行符替换为 \r\n 或 \n 或 \r 等,但没有任何效果......
如果有人能分享他的经验,我将不胜感激。
弗雷德
【问题讨论】:
标签: csv input jmeter multipartform-data multiline