Hello,
Use one of those listeners:

   -
   
https://jmeter.apache.org/usermanual/component_reference.html#Simple_Data_Writer
   -
   
https://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree

Then:
- Check errors only
- Click Configure and select all fields except CSV to get all details in XML
- And fill a filename

Regards
Philippe M.
Co-author of:

   - https://leanpub.com/master-jmeter-from-load-test-to-devops
   -
   
https://www.packtpub.com/programming/master-apache-jmeter-from-load-testing-to-devops




On Fri, Apr 3, 2020 at 1:34 PM _elgato <[email protected]> wrote:

> Hi everyone,
>
> I have a couple of questions:
>
> I need to save the server response on error. The HTTP requests has an
> assertion that checks the response body contains a specific text in the
> <title> tag.
>
> I have read in
> https://www.blazemeter.com/blog/how-to-save-response-data-in-jmeter/ that
> there are a few ways of doing this:
>
>    1.
>
> https://jmeter.apache.org/usermanual/component_reference.html#Save_Responses_to_a_file
>    2.
>
> https://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree
>    3.
>
> https://jmeter.apache.org/usermanual/properties_reference.html#results_file_config
>
> I will be running jmeter in non-GUI mode, so which is the better approach
> to doing what I need to do?
>
> Also, another question, I've tried adding Save Response Data (XML) to an
> Aggregate Report item but it seems it does not work that way, are all Save
> Configurations available for all types?
>
> Thank you.
> Regards.
>


-- 
Cordialement.
Philippe Mouawad.

Reply via email to