VIAVI TestCeter: v5.57 - running ResultsReporterCLI.bat does not create specified .csv file
Knowledge Base - FAQ
• ResultsReporterCLI.bat was used successfully in VIAVI TestCenter (STC) 5.56.
• STC was upgraded from 5.56 to 5.57.
• The command line string that ran ResultsReporterCLI.bat in 5.56, was modified to work with 5.57, and when it was executed, it did not create any .csv file that it was supposed to.
This is the command line string used:
"C:\Program Files\VIAVI Communications\VIAVI TestCenter 5.57\VIAVI TestCenter Application\Results Reporter\ResultsReporterCLI.bat" ^
-o "C:\temp\tbd\broadcom\5.57\2544-Tput-Summary-1_2025-06-11_17-30-09.db" ^
-f csv ^
-d "C:\temp\tbd\broadcom\5.57\where_you_stay9.csv" ^
-t "C:\Program Files\VIAVI Communications\VIAVI TestCenter 5.57\VIAVI TestCenter Application\Results Reporter\templates\Rfc2544ThroughputStats.rtp"
• This is the output of running the above command:
C:\Program Files\VIAVI Communications\VIAVI TestCenter 5.57\VIAVI TestCenter Application\Results Reporter>.\_jvm\bin\java.exe -mx768m -Djdbc.drivers=org.apache.derby.jdbc.EmbeddedDriver -Djava.library.path=bin;.. -cp ./lib/Analyzer.jar;./lib/com.VIAVI.tc.core.proxy_1.0.0.jar;./lib/commons-cli-1.0.jar;./lib/core-renderer.jar;./lib/core-renderer-minimal.jar;./lib/derby.jar;./lib/derbyclient.jar;./lib/derbynet.jar;./lib/dom4j-full.jar;./lib/h2.jar;./lib/iText.jar;./lib/jacl.jar;./lib/jcommon-1.0.13.jar;./lib/jdom.jar;./lib/jfreechart-1.0.13.jar;./lib/jna.jar;./lib/junit-4.7.jar;./lib/log4j-api-2.20.0.jar;./lib/log4j-core-2.20.0.jar;./lib/log4j-1.2-api-2.20.0.jar;./lib/lucene-core-2.4.1.jar;./lib/OfficeLnFs_2.7.jar;./lib/org.eclipse.core.commands_3.3.0.I20070605-0010.jar;./lib/org.eclipse.core.databinding.observable_1.2.0.M20090902-0800.jar;./lib/org.eclipse.core.runtime_3.3.100.v20070530.jar;./lib/org.eclipse.equinox.common_3.3.0.v20070426.jar;./lib/org.eclipse.equinox.registry_3.3.1.R33x_v20070802.jar;./lib/org.eclipse.jface_3.3.2.M20080207-0800.jar;./lib/org.eclipse.osgi_3.3.2.R33x_v20080105.jar;./lib/org.eclipse.swt.win32.win32.x86_3.5.0.v3550b.jar;./lib/org.eclipse.swt_3.5.0.v3550b.jar;./lib/org.eclipse.ui_3.3.1.M20071128-0800.jar;./lib/org.eclipse.ui.workbench_3.3.2.M20080207-0800.jar;./lib/poi-3.10.1-20140818.jar;./lib/poi-ooxml-3.10.1-20140818.jar;./lib/poi-ooxml-schemas-3.10.1-20140818.jar;./lib/xmlbeans-3.0.2.jar;./lib/sqlite.jar;./lib/swank.jar;./lib/sJava.jar;./lib/swingx-1.0.jar;./lib/tc.jar;./lib/tcljava.jar;./lib/wizard.jar;./lib/Zql.jar;./lib/jcchart.jar;./lib/javamail-1.4.1.jar;./lib/pdfbox-1.3.1.jar; com.caw.analyzer.CLI -o "C:\temp\tbd\broadcom\5.57\2544-Tput-Summary-1_2025-06-11_17-30-09.db" -f csv -d "C:\temp\tbd\broadcom\5.57\where_you_stay9.csv" -t "C:\Program Files\VIAVI Communications\VIAVI TestCenter 5.57\VIAVI TestCenter Application\Results Reporter\templates\Rfc2544ThroughputStats.rtp"
• Also, a couple of logs were generated that ended up in the folder, C:\Users\\Documents\VIAVI\TestCenter 4.10\ResultsReporter\Logs
• We found that 5.57's ResultsReporterCLI.bat has an incorrect STCVERSION variable.
set STCVERSION=4.101
Even if we changed it to...
set STCVERSION=5.57
... it still didn't work and no logs were created in C:\Users\\Documents\VIAVI\TestCenter 5.57\ResultsReporter\Logs
Workaround:
• Since modifying the ResultsReporterCLI.bat did not work, we found that if we ran the ResultsReporterCLI.bat from the 5.56 installation directory it did work.
+----- changed this from 5.57
|
\|/
|
"C:\Program Files\VIAVI Communications\VIAVI TestCenter 5.56\VIAVI TestCenter Application\Results Reporter\ResultsReporterCLI.bat" ^
-o "C:\temp\tbd\broadcom\5.57\2544-Tput-Summary-1_2025-06-11_17-30-09.db" ^
-f csv ^
-d "C:\temp\tbd\broadcom\5.57\where_you_stay9.csv" ^
-t "C:\Program Files\VIAVI Communications\VIAVI TestCenter 5.57\VIAVI TestCenter Application\Results Reporter\templates\Rfc2544ThroughputStats.rtp"
N/A