Performance keywords: Use matching runtime rate 54/32854/36
authorVratko Polak <vrpolak@cisco.com>
Tue, 14 Sep 2021 13:00:00 +0000 (15:00 +0200)
committerPeter Mikus <pmikus@cisco.com>
Fri, 17 Sep 2021 08:47:00 +0000 (08:47 +0000)
Previously, runtime rate was not modified,
so max rate was always used, even in ndrpdr with two stats trials.

Now, each call to "Send traffic at specified rate" keyword
sets the given rate as runtime rate.

Change-Id: I3eb41eeadd6b64d23056c67c23a25f9565bb0424
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/robot/performance/performance_utils.robot

index c6c98fb..33bd31f 100644 (file)
 | | ${transaction_scale} = | Get Transaction Scale
 | | ${transaction_type} = | Get Transaction Type
 | | Set Test Variable | \${rate_for_teardown} | ${rate}
+| | Set Test Variable | \${runtime_rate} | ${rate}
 | | FOR | ${action} | IN | @{stat_runtime}
 | | | Run Keyword | Additional Statistics Action For ${action}
 | | END