Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Functions commonly used in JMeter

Shulou Source: shulou.com Published: 2022-06-03 04:33:57 11月25日 Update

_ _ digest ()

Encryption function, which supports MD5 and other encryption algorithms

_ _ Random ()

Random number function

_ _ RandomString ()

Random string

_ _ UUID ()

Unique identification code function, usually 32-bit, 32255deb-f2d4-411b-802b-5af8b71278d2

If you need to remove the string, add a preprocessor to the request-BeanShell

String uuid = "${_ UUID}" .replace ("-", "")

Vars.put ("uuid", uuid)

Then, by referencing this variable in the request, you can remove the-

B9612a725492457aaa56d23ecb71cc31

_ _ time ()

Timestamp function

_ _ timeshift function

Counter

Can generate non-repetitive numbers!

Tags: Functions characters strings encryption variables processors multiple numbers time algorithms counters identifiers random numbers processing support generation commonly used Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Apple Shulou Technology MySQL macOS