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

How do I escape commas with Jmeter reading from a CSV data set?

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

I am testing a chat bot with inputs, and one of the rows reads, for example

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

The input is sending only "Just in case". I have tried Just in case\, where is the nearest doctor's office

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

Did you read the CSV specification (RFC 4180) or the Wikipedia page? It says exactly that you don't escape , but rather wrap whole text into "" so

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

should work as long as implementation is compliant.