The Save Responses to a file Post-Processor is what you need for that;
however it does not take account of the success/failure flag. I think
that would be a useful addition, so I'll probably add that.

As a work-round, the variable

JMeterThread.last_sample_ok

is set true/false according to the last sample (see Functions, 19.6),
so you could try using an If Controller with a nested Save Responses.
You'll also need a sampler - Test Action should work fine, and it does
not generate a sample.

S.
On 29/06/07, Lists <[EMAIL PROTECTED]> wrote:
Thanks.  Ideally i was after the actuall message content though ( this is an
XML-RPC request)

Basically i occasionally see intermittent failures, and it's really hard to
work out whether something duff was sent, or the server hiccup'd for some
reason.

--------- Original Message --------
From: JMeter Users List <[email protected]>
To: JMeter Users List <[email protected]>, Lists
<[EMAIL PROTECTED]>
Subject: Re: Saving responses on failure
Date: 28/06/07 11:26

> You can already save the request headers and URL in 2.2 (use the
> configure button) if using XML output.
>
> SamplerData has been fixed to work in the current code.
>
> On 28/06/07, Lists &lt;[EMAIL PROTECTED]&gt; wrote:
> &gt; Hi,
> &gt;
> &gt; Could jmeter to save the request alongside the response when a
response
> &gt; fails? ( when the save failed responses only is checked )
> &gt;
> &gt; Would others find this useful? I know I definately would..
> &gt;
> &gt; Thanks,
> &gt; Dan
> &gt;
> &gt; ________________________________________________
> &gt; Message sent using UebiMiau 2.7.10
> &gt;
> &gt;
> &gt;
> &gt; ---------------------------------------------------------------------
> &gt; To unsubscribe, e-mail: [EMAIL PROTECTED]
> &gt; For additional commands, e-mail: [EMAIL PROTECTED]
> &gt;
> &gt;
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

________________________________________________
Message sent using UebiMiau 2.7.10



---------------------------------------------------------------------
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]

Reply via email to