Printer FriendlyEmail Article Link

Spirent TestCenter-JTAPI: Is there any command to make sure that traffic is sent out completely?

  • Spirent TestCenter
  • Linux OS
  •   If duration is specified

If you are using start_test() function, then we can use an argument “Wait” which if set to 1 will wait for the “duration” specified.

  •  If duration is not specified (Example: To send traffic to all routes (100k) and stop)

Use ‘burst_len’ and ‘burst_count’ arguments in the stream hash corresponding to the number of routes.

Sample code snippet below:
my $s1 = { bidir=>"false", burst_len=>"100",burst_count=>"1000"};

Product : Spirent TestCenter,L2-3,Automation,API,Spirent TestCenter