Avoid truncated output from XML side-by-side comparison
search cancel

Avoid truncated output from XML side-by-side comparison

book

Article ID: 131095

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

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.

 

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.


For further details regarding these properties see: 
https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/using/using-application-test/using-devtest-workstation-with-application-test/running-test-cases-and-suites/interactive-test-run-itr-utility/graphical-text-diff-utility.html

Attachments

1558687365393000131095_sktwi1f5rjvs16f8o.png get_app
1558687362440000131095_sktwi1f5rjvs16f8n.png get_app