Hyperfoil

randomItem

Stores random item from a list or array into session variable.

Property Type Description
file String This file will be loaded into memory and the step will choose on line as the item.
fromVar String Variable containing an array or list.
list Builder Potentially weighted list of items to choose from.
toVar String Variable where the chosen item should be stored.

list

Property Type Description
<any> <list of strings> Item as the key and weight (arbitrary floating-point number, defaults to 1.0) as the value.
<list of strings> <list of strings> Item as the key and weight (arbitrary floating-point number, defaults to 1.0) as the value.
Close

Search results for "":