JMeter CSV Dataset Config: how to move through variables in the same thread?

后端 未结 4 1908
失恋的感觉
失恋的感觉 2020-12-05 11:39

I\'m using a CSV dataset config element, which is reading from a file like this:

abd
sds
ase
sdd
ssd
cvv

Which, basically, has a number of

4条回答
  •  猫巷女王i
    2020-12-05 12:04

    Update:

    CSV Dataset does not seem to be a suitable too for this purpose.

    I ended up creating some simple beanshell scripts that create a random 1, 2, or 3 letter word as needed, and also another one that reads a random words from a large set. This way, each time they are called they give a random value. They are called like this:

    ${__BeanShell(getRandomStr(3))}
    

    or

    ${__BeanShell(getRandomWord())
    

提交回复
热议问题