Printer FriendlyEmail Article Link

Spirent TestCenter: Why do we sometimes get avgLatency 0 by using API?

Environment/Versions

Spirent TestCenter
API
Subscribe

Answer

When we use API to get result, sometimes we find that avgLatency always be 0. But when we use GUI for testing, avgLatency have right count.
Check if you are using RxStreamResults result.  RxStreamResults is a temp object that we create, so some average result is empty. . So we need use RxStreamSummaryResult to get result.


 


Product : Automation,API,Spirent TestCenter