On 13 September 2010 15:29, SanderW <[email protected]> wrote: > > Hi All, > > In looking for a way to writes lines to a file (e.g. with Simple Data > Writer) without them showing up in the View Results Tree or Summary Report. > > The basic idea is to open multiple url's and store all links found in the > response. I'm running this script in the GUI and would like to see the > server responses in the Results Tree and store all links found in the > response to a file. > > This is what I currently have: > HTTP Request > ...Regular Expression Extractor (Name = IN & RegEx = <a href=\"(.+?)\" & > Match No = -1) > ForEach Controller (Input = IN & Output = OUT) > ...Debug Sampler (${OUT}) > ......Simple Data Writer > > The solution above does give me a file with the responses, but the Results > tree cannot handle the amount of Debug Samplers. > > I have tried to replace the Debug Sampler with a BeanShell Postprocessor, > but couldn't get it working. > > Any help is much appreciated.
An alternative would be to use the Save Responses to File Listener, and process the files after the test run. Otherwise, I think the only way to do this is to use a BeanShell or BSF PostProcessor or Listener. > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Write-variables-to-a-file-without-showing-them-in-Results-Tree-tp2837757p2837757.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

