I use JMeter and I know the functions __Randomand __RandomString. I need to select a random option and store it in a variable, because it will be used as part of the parameter path for several calls. For instance:
http://www.example.com/pets/{random option such as: cat, dog, parakeet}/
I tried doing things like this, where I set the variable ${query}to one, twoor threeusing a random controller with user-defined variables as children. It seems like it should work, but I always get ${query}on three.
Any insights or ideas will be well received. Thanks to everyone in advance.
source
share