Hi Philippe, thanks for your response. I finally set a View Results Tree with result file transaction_resulttree.xml
The file is 144kb and contains lines as follows: sample.responseHeader.Attribute:class sample.requestHeader.Attribute:class sample.responseData.Element:Text sample.responseData.Attribute:class sample.Attribute:ts sample.Attribute:lb sample.Attribute:rc sample.Attribute:rm sample.Attribute:tn Attribute:version java.lang.String java.lang.String Non-TEXT response data, cannot record: () java.lang.String 1585928938746 Completar login 200 Number of samples in transaction : 3, number of failing samples : 1 Thread Group 1-234 12 However I am not able to load the file in the View Results Tree listener. How should I open this file? Thanks again for your help. Regards. On Fri, Apr 3, 2020 at 1:40 PM Philippe Mouawad <[email protected]> wrote: > 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. >
