1
votes

I have the following JMeter project

I want to use the same var value in all the HTTP requests under the Thread Group, per thread, Next thread should have new value for all HTTP requests.

I know that CSV Data Set Config will work, but I don't want to construct the file and also want random picks and not serial parsing of the files.

Currently, in Setup Thread Group, I'm reading the two files and use beanShellPeProcessor Random Customer and Articles to pick random values from an ArrayList.

But every HTTP request gets a nes value, even if I move the random picking BeanShell under the Thread Group.

Any help?

Thanks.

1
what's your code for random?user7294900

1 Answers

0
votes

Create Beanshell Sampler under Thread Group as first request in Thread Group

This way it will be executed before other requests and will be called 1 per Thread.