Many children's shoes do not know which Query Type to choose for Jmeter, why and how to choose!
Here is a simple analysis,
So first of all, what is CSV Data Set Config and what is its use?
CSV Data Set Config is a configuration element used to insert reference files. Suppose that children's shoes need to insert multiple pieces of data when they are doing tests. When inserting hundreds of pieces of data, it is very troublesome to insert them with select statements. Then you can use csv to complete, that is, the so-called batch data fetching
Filename: It is the address of the file you want to import (the batch data you want to add is written in the TXT file) Note: The file path should not be in Chinese. It is written in Chinese for intuitive expression.
File encoding: encoding
variable Names (comma-delimited): variable name, this variable name is written according to the "user-defined variable", for example, the txt document contains "name, gender, age", then you can fill in name, sex here , age. like this~
Delimiter (Use '\t' for tab): what to use to separate, "," means to separate with commas
Allow quoted data?: Default False to allow quoted data values
Recycle on EOF?: The meaning of Ture cycle value , assuming that the TXT document has only 3 pieces of data, but I want to insert 4 pieces of data, then whether to fetch these data in a loop after fetching
Stop thread in EOF?: False if no data is added to stop
Here's an example
First come the wrong way of execution
Here is a simple analysis,
So first of all, what is CSV Data Set Config and what is its use?
CSV Data Set Config is a configuration element used to insert reference files. Suppose that children's shoes need to insert multiple pieces of data when they are doing tests. When inserting hundreds of pieces of data, it is very troublesome to insert them with select statements. Then you can use csv to complete, that is, the so-called batch data fetching
Filename: It is the address of the file you want to import (the batch data you want to add is written in the TXT file) Note: The file path should not be in Chinese. It is written in Chinese for intuitive expression.
File encoding: encoding
variable Names (comma-delimited): variable name, this variable name is written according to the "user-defined variable", for example, the txt document contains "name, gender, age", then you can fill in name, sex here , age. like this~
Delimiter (Use '\t' for tab): what to use to separate, "," means to separate with commas
Allow quoted data?: Default False to allow quoted data values
Recycle on EOF?: The meaning of Ture cycle value , assuming that the TXT document has only 3 pieces of data, but I want to insert 4 pieces of data, then whether to fetch these data in a loop after fetching
Stop thread in EOF?: False if no data is added to stop
Here's an example
First come the wrong way of execution