I defined a new variable
Name Value Description
categories (1, 2, 3, 4, 5) my categories ids
and in my path i want to
__StringFromArrayAtRandomindex is not part of JMeter core nor part of JMeter plugins.
Is it a custom function ?
Furthermore, you have a syntax error (there is a missing ) at end:
${__StringFromArrayAtRandomindex('1', '2', '3', '4', '5')}
To do the same thing, use a CSV Data Set which will contain:
1
2
3
4
5
Set:
Variable Names=categoryId
You can then use it like this:
${categoryId}