Inside the Thread Group, I have "jsr 223 preprocessor" where I am setting variable like this -
List<String> EDPResultList = new ArrayList();
vars.putObject("EDPResultList",EDPResultList);
Then inside the while controller, I have an "HTTP Request Sampler". For processing the response, I have added a "jsr 223 postprocessor" where I am trying to access the object like this -
Object resObj = vars.getObject("EDPResultList");
I am getting the exception -
"ERROR o.a.j.e.JSR223PostProcessor: Problem in JSR223 script, JSR223 PostProcessor For Initial Get javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: EDPResultList for class: Script238 at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:324) ~[groovy-all-2.4.16.jar:2.4.16]"
How can I define a list which I can user throughout my "Thread Group" and for multiple iterations of "While Controller".






EDPResultList? - user7294900