How to override values in JMeter? -


i facing situation currently, have 2 threads inside 1 thread group. both threads use different csv's. i've put 1 csv data set config in each thread. problem there variable called userid common in variable names in csv data set config both. due when first thread executes assigns userid value carried forward thread.

for example,

  • thread1 >> reads values csv >> assigns userid=1104.
  • thread2 >> reads values csv >> cannot assign userid=1105 keeps previous assigned value userid=1104.

i've tried sharing mode current thread doesn't seems work in case.
please suggest way out.

if have 2 csv data sets, same variable names, at same level in test plan tree, see behaviour describe. if both have variable called var1, example, have same value throughout level.

you can use simple controller element, each csv data set config on own level, , variable values not shared.

simple controller has no logic, other grouping other elements together, need create two, , move other elements beneath it.

broken

enter image description here

works

enter image description here


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -