You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Pollard, Matthew (Mat) 1275" <Ma...@CIGNA.com> on 2004/08/24 12:03:38 UTC

Conditional Dump Of HTTP Responses

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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Conditional Dump Of HTTP Responses

Posted by Michael Stover <ms...@apache.org>.
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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
-- 
Michael Stover <ms...@apache.org>
Apache Software Foundation


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org