I have a post -processor with the below code.
import test.MFG
MFG mfgRepo = new MFG();
log.info("device {}","${deviceID}");
long crashTime= ${p1};
String deviceId1="${deviceID}";
log.info("the crashtime is {}",crashTime);
List<Map<String,Object>> dbItem = mfgRepo.getItemFromDB("TEST",deviceId1,crashTime);
log.info("The item is {}",dbItem.get(0).get("info"));
In the above the deviceID and p1 are variables that vary in each request e.g testdevice1,testdevice2... and p1 is a different timestamp. when these values are run in a postprocessor only the first request value is been processed in all the post-processor. what am I doing wrong?
how can I implement the same validation in a while controller which would go and test if dbItem.get(0).get("info") is not null for each request made in a concurrency thread group.
