Using variables used in BSF post-processor as a parameter in another sampler
问题 I have a BSF post-processor added to a sampler. The script in the post-processor is: var array = JSON.parse(prev.getResponseDataAsString()); array.forEach(function(object) { OUT.println("patient_id: "+object.patientId); OUT.println("fname: "+object.fname); OUT.println("lname: "+object.lname); }); now i want to use object.patientId, object.fname, object.lname values as parameters in another request's parameters. E.g. Thread Group - Sampler1 BSF Post-Processor - Sampler2 I want to use the