BSF.
Jython Library jmeter lib.
HTTP BSF, Jython , , :
import random
randImageString = ""
for i in range(16):
randImageString = randImageString + chr(random.randint(ord('A'),ord('Z')))
vars.put("randimage", randImageString)
vars.put("randimage",randImageString"), , , jmeter.
Now, when testing, you can use ${randimage}it when you need it:

Now, each request will be different when the value placed in randimage is changed to Python Script.
source
share