Earlier we learned about CSV Data Set Config and how to use its software load test plan to read data from csv file as described in my PREVIOUS POST. So now here we will talk only about the usage of allow quoted data? in jmeter.
Use Of Allow Quoted Data in Jmeter
The main usage of allow quoted data? in jmeter is to specify that you want to read double quoted data from csv file. So if you want to read double-quoted data from a file to use it in your software load test plan then you can set Allow Quoted Data = true. Otherwise, You can set Allow Quoted Data = false.
Example of Allow Quoted Data in jmeter
I will take the same software load test plan example that is used in CSV Data Set Config(CSV Data Set Config.jmx).
In Test.csv file, You can see that I have set "Y2" in the B2 column and I want to read it from csv file to use it in my jmeter software load test.
If you want to read this kind of double-quoted value, You have to set Allow quoted data? = True in CSV Data Set Config as shown in the below image.
Now if you run the above example load test, and view the response data of 2nd sample in the view result in the tree then it will look like below.
You can see that it has read double quoted data from the CSV file and printed. This way you can read double-quoted data from csv file to use it in the software load test plan.
No comments:
Post a Comment