You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/11/18 20:38:44 UTC

svn commit: r1036587 - /jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java

Author: sebb
Date: Thu Nov 18 19:38:43 2010
New Revision: 1036587

URL: http://svn.apache.org/viewvc?rev=1036587&view=rev
Log:
Don't say it is POST data when it's actually a PUT

Modified:
    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java

Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java?rev=1036587&r1=1036586&r2=1036587&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java Thu Nov 18 19:38:43 2010
@@ -120,7 +120,7 @@ public class HTTPSampleResult extends Sa
             sb.append("\n");
             // Include request body if it is a post or put
             if (HTTPConstants.POST.equals(method) || HTTPConstants.PUT.equals(method)) {
-                sb.append("\nPOST data:\n");
+                sb.append("\n"+method+" data:\n");
                 sb.append(queryString);
                 sb.append("\n");
             }



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