Happily, there are Bugzilla enhancement requests :-) Could perhaps add a checkbox to the save responses element, etc.
S. -----Original Message----- From: Pollard, Matthew (Mat) 1275 [mailto:[EMAIL PROTECTED] Sent: 24 August 2004 14:30 To: 'JMeter Users List' Subject: RE: Conditional Dump Of HTTP Responses 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] "MMS <internal.cigna.com>" made the following annotations. ---------------------------------------------------------------------------- -- 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] _______________________________________________________ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. _______________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

