jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1544809 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java
Date Sat, 23 Nov 2013 14:33:37 GMT
Author: pmouawad
Date: Sat Nov 23 14:33:37 2013
New Revision: 1544809

URL: http://svn.apache.org/r1544809
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=55610
Fix slow display issue due to XML formatting when content is not XML.  
Formatting is anyway not a good idea.
Bugzilla Id: 55610

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java?rev=1544809&r1=1544808&r2=1544809&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsXPath.java Sat Nov 23
14:33:37 2013
@@ -182,7 +182,7 @@ public class RenderAsXPath implements Re
     public void renderResult(SampleResult sampleResult) {
         String response = ViewResultsFullVisualizer.getResponseAsString(sampleResult);
         try {
-            xmlDataField.setText(response == null ? "" : XPathUtil.formatXml(response));
+            xmlDataField.setText(response == null ? "" : response);
             xmlDataField.setCaretPosition(0);
         } catch (Exception e) {
             logger.error("Exception converting to XML:"+response+ ", message:"+e.getMessage(),e);



Mime
View raw message