ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method: eval Sourced file: inline evaluation of:
Getting below error when i run the jmeter script having Beanshell Post Processor as a child to a sampler. ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method: eval Sourced file: inline evaluation of: ``try { newuser= vars.get("prevUsrResponse"); org.json.JSONObject userJSON= new o . . . '' : Typed variable declaration : Class: org.json.JSONObject not found in namespace Below is the code written and run in jMeter 2.9. newuser= vars.get("prevUsrResponse"); org.json.JSONObject userJSON= new org.json.JSONObject(newuser); if(prevUsrJSON.has("User") && custJSON.get("User")!= null) {