Hi, How can I export test results from the testresults.db from a testcenter run via tcl into a excel file? I like to see only streamblockresults->detail streamblocks and I like to get the test duration ? -> how long these test (streamblocks) were running. Any proposals ?
I'm attaching an example script that demonstrates [link text] one way of generating CSV file, from the results database, using Spirent TestCenter API. As for trying to determine how long traffic was running...that's a little more challenging. : /storage/temp/3780-export2csv.tcl
How can I define a different path than the one inside the install dir for the template which is used from: stc::perform ExportDbResults -TemplateUri "templates/DetailStats.rtp" \ -ResultDbFile $resultsdbfilename \ -Format "CSV" \ -ResultFileName "SimpleExportedResults" Which options and paths are possible for the template URI ?
For some additional information regarding results within the Spirent TestCenter API you can view the slides on results within the Basic Flow of Spirent TestCenter 2.0 Automation module (TRN10295) of the ---Essentials of Spirent TestCenter 2.0 Automation course--- (TRN10277) available on the Spirent KB located on the CSC web-site (