You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2006/04/08 01:32:28 UTC

svn commit: r392454 - /jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/listeners.xml

Author: sebb
Date: Fri Apr  7 16:32:27 2006
New Revision: 392454

URL: http://svn.apache.org/viewcvs?rev=392454&view=rev
Log:
Document Save Responses to a file

Modified:
    jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/listeners.xml

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/listeners.xml
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/listeners.xml?rev=392454&r1=392453&r2=392454&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/listeners.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/listeners.xml Fri Apr  7 16:32:27 2006
@@ -183,6 +183,7 @@
 </responseHeader>
     <requestHeader class="java.lang.String">MyHeader: MyValue</requestHeader>
     <responseData class="java.lang.String">http://www.apache.org/images/asf_logo_wide.gif</responseData>
+      <responseFile class="java.lang.String">Mixed1.html</responseFile>
     <cookies class="java.lang.String"></cookies>
     <method class="java.lang.String">GET</method>
     <queryString class="java.lang.String"></queryString>
@@ -218,6 +219,7 @@
   <responseHeader class="java.lang.String"></responseHeader>
   <requestHeader class="java.lang.String"></requestHeader>
   <responseData class="java.lang.String">Listen 1-1</responseData>
+  <responseFile class="java.lang.String">Mixed2.unknown</responseFile>
   <samplerData class="java.lang.String">ssssss</samplerData>
 </sample>
 
@@ -246,6 +248,19 @@
 <p>
 Versions 2.1 and 2.1.1 of JMeter saved the Response Code as "rs", but read it back expecting to find "rc".
 This has been corrected so that it is always saved as "rc"; either "rc" or "rs" can be read.
+</p>
+</section>
+
+<section name="14.7 Saving response data" anchor="saving">
+<p>
+As shown above, the response data can be saved in the XML log file if required.
+However, this can make the file rather large, and the text has to be encoded so
+that it is still valid XML. Also, images cannot be included.
+<br/>
+Another solution is to use the Post-Processor <complink name="Save_Responses_to_a_file">Save Responses to a file</complink>.
+This generates a new file for each sample, and saves the file name with the sample.
+The file name can then be included in the sample log output.
+The data will be retrieved from the file if necessary when the sample log file is reloaded.
 </p>
 </section>
 



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