question

JenyaB avatar image
JenyaB asked mnakamura answered

How to automatically get Asymmetric Throughput Port Side Results from .db file?

Hi,
I'm working on Tcl based automation for RFC 2544 test. I have the end of test results in .db file. I'm particularly interested in the data in the "Asymmetric Throughput Port Side Results" table. I tried to use ResultsReporterCLI.bat, but I get empty tables no matter what template I use. The HltApi command sth::rfc2544_asymmetric_stats does provide me with data, but it's not exactly what I need. Are there any other options I can explore?

Thanks in advance

Spirent TestCenter (STC)automationrfc 2544hltapitcl api
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
mnakamura avatar image
mnakamura answered

My colleague indicated the below. Hope that helps.

could try “ExportDbResults” or “QueryResult”

This seems to work:

set databasefilename {2544-Tput-Summary_2021-10-20_07-18-30.db}

array set aQueryInfo [stc::perform QueryResult -DatabaseConnectionString $databasefilename \

-Resultpath AsymmetricThroughputPortSideResults ]

puts ""

puts " AsymmetricThroughputPortSideResults"

puts ""

parray aQueryInfo

Note that the above has been added to a Knowledge Base article indicated below and also shows the output of the above.

https://support.spirent.com/SpirentCSC/SC_KnowledgeView?cid=null&id=SOL14650

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.