Warm tip: This article is reproduced from serverfault.com, please click

java-如何从CSV数据集中读取Jmeter来避免逗号?

(java - How do I escape commas with Jmeter reading from a CSV data set?)

发布于 2019-03-12 16:56:12

我正在测试带有输入的聊天机器人,例如,其中一行读取

entityInput, Just in case, where is the nearest doctor's office

输入仅发送“以防万一”。我试过了Just in case\, where is the nearest doctor's office

Questioner
dsidler
Viewed
11
210k 2019-03-13 01:08:21

你是否阅读了CSV规范(RFC 4180)Wikipedia页面它说的恰恰是你不会逃避,,而是将整个文本包装成""这样

entityInput, "Just in case, where is the nearest doctor's office"

只要实现是合规的,它就应该起作用。