Updating the Graphical XML diff utility so that responses do not get truncated.
search cancel

Updating the Graphical XML diff utility so that responses do not get truncated.

book

Article ID: 68458

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder)

Issue/Introduction

Sometimes when we run the XML diff comparison, we have seen the line gets truncated. Is there a way to set the length?

 

 

Environment

All supported LISA and DevTest versions

Resolution

The Graphical XML diff utility uses the following properties. These properties can be overridden in local.properties on the Workstation machine.


*lisa.graphical.xml.diff.engine.max.differences

This property configures the maximum number of differences that are detected before the XML diff algorithm stops. Set to -1 to compute all differences. When there are many differences, this setting causes the XML diff algorithm to finish faster.

Default: 100

*lisa.graphical.xml.diff.report.max.linewidth

This property configures the maximum width of a line of text in the XML diff results report. If the input XML has long lines of text, this property causes the XML diff results report to consume less memory.

Default: 80

*lisa.graphical.xml.diff.report.max.numberoflines 

This property configures the maximum number of context lines for a difference in the XML diff results report. If the XML that is being compared has different elements that are large, this property causes the XML diff results report to consume less memory.

Default: 5

Note: In most cases, these values should not be changed. Changing the default values for these properties could result in the Graphical XML diff engine using more CPU or running out of memory, or both. 

 

Workstation will have to be restarted