Little Jenny on jmeter commonly used functions _uuid, _random, _time, _p or _property, csv_read introduction

jmeter commonly used functions introduction:

Several common functions are _uuid, _random, _time, _p or _property, csv_read.

_uuid randomly generates a unique id , such as java avoid requesting retransmission create too many unprocessed data, the interface can add a unique request id unique response request id for-one correspondence;

Random number _random, can take a random value in a range where you specify ;

_Time, take the current time, a number of time parameters into classes may be used, such as {__time (,)} are generated timestamps have millisecond, {__time (/ 1000,)} is generated accurate to the second timestamp $ { __time (yyyy-mM-dd HH : mm: ss,)} is generated accurate to the current time in seconds.
_p or _property mainly used for continuous integration, use: set the variable names , generating function, and then call in the script, for example: Our number of threads, number of cycles, etc., invoke the command argument

Command: jmeter -n -t XXX.jmx -l XXX.jtl -D variable name = XXX -D variable name 2 = XXX

csv_read set a file path, the number of columns, starting from 0, csv format to read data into a variable


Part referring to the original link: https: //blog.csdn.net/github_27109687/article/details/71968662

Guess you like

Origin www.cnblogs.com/xiaozhenzhen/p/11829446.html