So don't use the Save Responses Post Processor - use the listeners. -Mike
On Tue, 2004-08-24 at 09:29, Pollard, Matthew (Mat) 1275 wrote: > Sadly, the "save responses to file" post processor doesn't have the option > to save only upon error. And there doesn't seem to be a way to scope the > post-processor within, say, an "assertion results listener" which does have > the option. > > So for example, if I do this: > > ThreadGroup > SimpleController > HTTP Sampler > Response Assertion > AssertionResults Listener (only log errors) > Save Responses Post Processor > > the post processor is going to save the response regardless of whether an > error was detected. > > > -----Original Message----- > From: Michael Stover [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 2:09 PM > To: JMeter Users List > Subject: Re: Conditional Dump Of HTTP Responses > > > Listeners can be instructed to record only errors. Most have a checkbox to > that effect up top. If you were to tell jmeter to record result data > (either via the jmeter.properties file or by clicking 'functional testing' > in the TestPlan element) and only log errors, I think you would effectively > get just the pages with failures recorded to file. > > -Mike > > On Tue, 2004-08-24 at 06:03, Pollard, Matthew (Mat) 1275 wrote: > > Does anyone know of a way to save *just* the contents of HTTP pages > > for which assertions have failed? I have JMeter set up to test several > > pages on a regular basis and I've noticed that occasionally my > > Response Assertions for certain pages fails. For these instances, I'd > > like to save what was returned but I don't want to save every single > > page. > > > > My test looks something like this: > > > > ThreadGroup > > SimpleController > > HTTP Sampler > > Response Assertion > > HTTP Sample > > Response Assertion > > etc.. > > > > Cheers, > > > > Mat. > > > > CONFIDENTIALITY NOTICE: If you have received this e-mail in error, > > please immediately notify the sender by e-mail at the address shown. > > This e-mail transmission may contain confidential information. This > > information is intended only for the use of the individual(s) or > > entity to whom it is intended even if addressed incorrectly. Please > > delete it from your files if you are not the intended recipient. > > Thank you for your compliance. Copyright > > (c) 2004 CIGNA > > > ============================================================================ > == > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

