Avoid truncated output from XML side-by-side comparison

book

Article ID: 131095

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction



When executing the "Graphical XML side-by-side comparison" assertion as part of a test in ITR, the event output shows the XML string as truncated.
This may especially occur if the XML strings are on a single line and not formatted with new lines and spaces.

The event output may look similar to:
1,1[ATTRIBUTE_DELETED]1,1 
<-<?xml version='1.0'?]><DebugObj xmlns:xsd='http://www.w3.org/2001/XMLSchema' xml...(TRUNCATED)

Are there any properties or settings to avoid the truncated output.

<Please see attached file for image>

User-added image

Environment

Release: MSPSVF99000-10.4-Service Virtualization-Functional Transactions-MSP
Component:

Resolution

There are some default limits to the side by side comparison. 
In local.properties for the installation where this Workstation is running, increase the default limits by adding the following: 
lisa.graphical.xml.diff.engine.max.differences=10000 
lisa.graphical.xml.diff.report.max.linewidth=2000 
lisa.graphical.xml.diff.report.max.numberoflines=1000
These values are just an example and may need further increasing if the result is still truncated.

<Please see attached file for image>

User-added image

For further details regarding these properties see: 
https://docops.ca.com/devtest-solutions/10-3/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/running-test-cases-and-suites/interactive-test-run-itr-utility/graphical-text-diff-utility 

Attachments

1558687365393000131095_sktwi1f5rjvs16f8o.png get_app
1558687362440000131095_sktwi1f5rjvs16f8n.png get_app