title: JMeter - how to log the full request for a failed response?
body: <p>i'm using JMeter command line to stress test our website api. Now, here's a sample result i'm getting back:</p>
  
  <pre><code>Creating summariser &lt;summary&gt;
  Created the tree successfully using street_advisor.jmx
  Starting the test @ Sat Oct 03 15:22:59 PDT 2009 (1254608579848)
  Waiting for possible shutdown message on port 4445
  summary +     1 in   0.0s =   37.0/s Avg:    27 Min:    27 Max:    27 Err:     1 (100.00%)
  &lt;snip a few more lines&gt;
  &lt;then i break it&gt;
  </code></pre>
  
  <p>So i'm getting an error.</p>
  
  <p>Currently, all errors are going to a file. When i check that file, it's saying it's a 404. Er.. ok. Is there anyway i can see <em>exactly</em> what the request JMeter tried?</p>
  
  <p>here's a snippet of my config file...</p>
  
  <pre><code>&lt;ResultCollector guiclass="SimpleDataWriter" testclass="ResultCollector" testname="Error Writer" enabled="true"&gt;
            &lt;boolProp name="ResultCollector.error_logging"&gt;true&lt;/boolProp&gt;
            &lt;objProp&gt;
              &lt;name&gt;saveConfig&lt;/name&gt;
              &lt;value class="SampleSaveConfiguration"&gt;
                &lt;time&gt;true&lt;/time&gt;
                &lt;latency&gt;true&lt;/latency&gt;
                &lt;timestamp&gt;false&lt;/timestamp&gt;
                &lt;success&gt;true&lt;/success&gt;
                &lt;label&gt;true&lt;/label&gt;
                &lt;code&gt;true&lt;/code&gt;
                &lt;message&gt;true&lt;/message&gt;
                &lt;threadName&gt;false&lt;/threadName&gt;
                &lt;dataType&gt;true&lt;/dataType&gt;
                &lt;encoding&gt;false&lt;/encoding&gt;
                &lt;assertions&gt;true&lt;/assertions&gt;
                &lt;subresults&gt;true&lt;/subresults&gt;
                &lt;responseData&gt;false&lt;/responseData&gt;
                &lt;samplerData&gt;false&lt;/samplerData&gt;
                &lt;xml&gt;true&lt;/xml&gt;
                &lt;fieldNames&gt;false&lt;/fieldNames&gt;
                &lt;responseHeaders&gt;true&lt;/responseHeaders&gt;
                &lt;requestHeaders&gt;true&lt;/requestHeaders&gt;
                &lt;responseDataOnError&gt;false&lt;/responseDataOnError&gt;
                &lt;saveAssertionResultsFailureMessage&gt;false&lt;/saveAssertionResultsFailureMessage&gt;
                &lt;assertionsResultsToSave&gt;0&lt;/assertionsResultsToSave&gt;
                &lt;bytes&gt;true&lt;/bytes&gt;
              &lt;/value&gt;
            &lt;/objProp&gt;
            &lt;stringProp name="filename"&gt;./error.jtl&lt;/stringProp&gt;
          &lt;/ResultCollector&gt;
  </code></pre>
  
  <p>Now, before someone says 'Check the webserver log files', I know I can do this and yep, I've found the 404 .. but i'm hoping to see if it's possible without accessing them .. especially if they are on another server and/or I can't get access to them.
  Please help!</p>