Thread Group1 will create an array Array1 stored in memory(code is in JSR223 Sampler) and the data from array are passed to Request1 present in same thread group. Array1 will be updated every minute during test execution. Thread Group2 will create an array Array2 stored in memory(code is in JSR223 Sampler) and the data from array are passed to Request2 present in same thread group. Array2 will be updated every minute during test execution. Thread Group3 will create an array Array3 stored in memory(code is in JSR223 Sampler) and the data from array are passed to Request3 present in same thread group. Array3 will be updated every minute during test execution.
TG1 TG2 TG3 are added to a test plan and all thread groups should run simultaneously.
Issue we're encountering is any 1 Array data is being used by all 3 requests. Eg: Array1 data is being used by Request1,2,3 or Array2 data is being used by Request1,2,3
But when we disable any 2 TG's and run only 1TG. Test runs correctly. 3 TG's are using only 1 array data when they run simultaneously.
Note: Array1, Array2, Array3 are stored in memory and will be updated every minute with new test data replacing the old data.
How can this issue be fixed?