Parametric CSV Data Set config element

Parametric CSV Data Set config element

CSV Data Set config can extract the text line by line from the specified file (usually a text file), content according to the dismantling of the line and the separator on the variable name corresponding to the content, then these variables can be referenced for sampler

The Name (Name): free to set the best practical significance.

Comments (Comment) : free to set up, can be empty

Filename (file name) : references address. It can be a relative path can be an absolute path. Root relative path is Jmeter startup directory (% JMETER_HME% \ bin). Jmeter may also be used in the path, such as parametric variables $ {paraUrl}.

Encoding File (file encoding format): recommended to use UTF-8 to save the file.

 

Variable Names (comma-delimited): defined by the parameter name, separated by commas, will correspond to the parameters in the parameter file. If the sequence number of parameters herein extra parameter file, to get any value of the extra parameters.

 

Ignore first line (only used if Variable Name is not empty): whether to ignore the first row of data, take effect when the parameter name is not empty.

 

DELIMITER (use '\ T' for Tab) : separator, default comma; Tab may also be used, if the parameter file separated by Tab, where fill "\ t".

 

The Data quoted the allow ? : Whether to allow data double quotes.

 

(1) If this data is provided with double quotes and TRUE, the automatic removing quotes that the data can be correctly read data, and even when the content between the quotation marks with delimiters, remains as a whole without separated. Such as: "2,3" -> 2,3

(2) If the data having marks and this is set to FALSE, the data read error;

(3) if desired further comprises an intermediate field double quotes double quotation marks, the need to add two double quotation marks to indicate a single double quotes. Such as: "4", "5" -> 4 "5

ON EOF Recycle ? : Yes, looping through the parameter file; No, do not cycle the parameter file traversal is complete.

 

EOF the Thread ON STOP? : To the end of the file has stopped thread, True- stop, False- not stop;

Note: When Recycle on EOF set to True, this setting is invalid.

 

Sharing mode ( shared mode ):

 

(1) All threads- all threads share CSV data (not including the thread group unified test plan), each thread in order to read the data, and do not repeat.

Whether it is a single thread group or multiple groups of threads, each thread is followed by the next line.

Concurrent (Number of threads (users)) and the number of cycles (loop count) different csv reads the data, but a plurality of sampler in the same thread group are always the same value.

(2) Current thread group- current thread group, within the scope of this element to the thread group as a unit, csv threads share data within each thread group, sequentially reads data, and do not repeat;

A thread group as a unit, each thread in the thread group will start values ​​from the first row and in turn the value down.

(3) Current thread- current thread, within the scope of this element, each value of all threads in the same cycle;

Each thread and values ​​sequentially from the first row start value down in the same cycle as the value of all the threads.

 

Guess you like

Origin www.cnblogs.com/crystal1126/p/11502878.html