vlsi commented on code in PR #6410:
URL: https://github.com/apache/jmeter/pull/6410#discussion_r1948790024


##########
src/core/src/main/java/org/apache/jmeter/samplers/DataStrippingSampleSender.java:
##########
@@ -126,6 +126,24 @@ private static void stripContent(SampleResult result, int 
level) {
     private static void stripResponse(SampleResult result) {
         result.setBytes(result.getBytesAsLong());
         result.setResponseData(EMPTY_BA);
+
+        if (result.isSuccessful()) {
+            result.setSentBytes(result.getSentBytes());
+            result.setSamplerData(null);
+            result.setRequestHeaders(null);
+
+            result.setBodySize(result.getBodySizeAsLong());
+            result.setDataType(null);

Review Comment:
   Do we save much by excluding `dataType`, `dataEncoding`?
   What if the server part uses data type, encoding, url, and so in via 
post-processor?
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to