Testcase persistence fails with "data too long for failure message"
**Description:**
Response data in testcase failure message is too long for the failure_message field in the database. This causes in persistence failure.

**Suggested Labels:**
Type/Bug

**Suggested Assignees:**

AsmaJ
diff --git a/automation/src/main/java/org/wso2/testgrid/automation/executor/JMeterResultCollector.java b/automation/src/main/java/org/wso2/testgrid/automation/executor/JMeterResultCollector.java
index 10b746ae..5244d379 100644
--- a/automation/src/main/java/org/wso2/testgrid/automation/executor/JMeterResultCollector.java
+++ b/automation/src/main/java/org/wso2/testgrid/automation/executor/JMeterResultCollector.java
@@ -62,9 +62,7 @@ public class JMeterResultCollector extends ResultCollector {
                 message = StringUtil.concatStrings("{ \\"Status code\\": \\"",
                         result.getResponseCode().replaceAll("\\"", "\\\\\\""),
                         "\\", \\"Response Message\\": \\"",
-                        result.getResponseMessage().replaceAll("\\"", "\\\\\\""),
-                        "\\", \\"Response Data\\": \\"",
-                        result.getResponseDataAsString().replaceAll("\\"", "\\\\\\""), "\\"}");
+                        result.getResponseMessage().replaceAll("\\"", "\\\\\\""), "\\"}");
 
                 logMessage = StringUtil.concatStrings("{ \\"Status code\\": \\"",
                         result.getResponseCode().replaceAll("\\"", "\\\\\\""),
['automation/src/main/java/org/wso2/testgrid/automation/executor/JMeterResultCollector.java']