question

immowetzel avatar image
immowetzel asked Yaseen commented

wait for refreshResults is finished

how long will it take to update the results after executing tcl command stc::perform RefreshResultView Is there any flag to be checked if the resultsrefresh is finished ? because the execution of the command doesnt wait until everything is finished.
Spirent TestCenter (STC)automation
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

·
Yaseen avatar image
Yaseen answered Yaseen commented
RefreshResultView command would update the counters only at that moment. In case the traffic is still running after issuing this command, the counters would not be updated. The possible way of identifying whether the results are updated or not, would be to display the result counter values before and after using this command and check the difference. So I suggest to include the refresh command after the complete traffic is stopped and before printing the results. Hope this information helps! Thanks!
1 comment
10 |950

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

Yaseen avatar image Yaseen ♦ commented ·
Just to add additional information, -State, is the flag that represent the current state of the command. Also, the -ElapsedTime represents the time taken to complete the command execution. If you are using this command in script, then you may have to print the command output to display on terminal, using "puts" command
0 Likes 0 ·

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.