Skip to content
Advertisement

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

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

Advertisement

Answer

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.

Advertisement