Jmeter of csv, user-defined variables, and Query Type analysis (eight)
I do not know a lot of children's shoes for the Query Type Jmeter do not know what to do, why choose, how to choose!
Below here do a simple analysis,
So first of all what is the CSV Data Set Config, what use is it?
CSV Data Set Config is used to insert a reference file of configuration elements, assuming that said children's shoes are doing the test of time, you need to insert multiple data, insert data hundreds of times, if you insert a select statement, then it is very troublesome, then you can use csv to complete, so-called batch fetch data
Filename: file that you want to import addresses (TXT document written inside a batch-type of data you want to add) Note: Do not use the Chinese path document path, here it is written in Chinese out for visual expression.
File encoding: coding
variable Names (comma-delimited): variable name, variable name according to "user-defined variables" to write in, for example, txt document which includes "name, sex, age," then here you can fill in the name, sex , age. Like this ~
Delimiter (Use '\ t' for tab): What to split, "" indicates separated by commas
Allow quoted data ?: default False allows reference data values
Recycle on EOF:? Ture cycle values mean , assuming that only three data TXT files, but I want to insert four data, whether that data fetch cycle after take complete
Stop thread in EOF:? False no data is added to stop
For example the following
先来个错误的执行方式