Jmeter function assistant dialog box random number, character and timestamp

The function assistant dialog box opens at position 2

Insert picture description here

Default interface

Click on the barbed triangle on the left side of the help to select the required function
Insert picture description here

Random function creation

${__Random(9000,9999,data)}Insert picture description here

Random function usage

The same
Insert picture description here
result as csv file regular extraction

Insert picture description here
Insert picture description here

Random String function usage

Random string length:
Chars to use for random string generation: Characters used for random string generation
Insert picture description here

Random String function usage

${__RandomString(7,abc12345#,data1)}
Insert picture description here
result
Insert picture description here
Insert picture description here

time function use

Format string for SimpleDateFormat (optional): The time format
yyyy-MM-dd HH:mm:ss
if hh is lowercase, it is the 12-hour system
${__time(yyyy-MM-dd HH:mm:ss,time)
Insert picture description here
uses the same amount as above same
Insert picture description here

Guess you like

Origin blog.csdn.net/aaaaaaaaanjjj/article/details/115009132