aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/performance
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2024-09-19 14:00:38 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2024-09-19 12:01:48 +0000
commitf4739d520f9a7abccb4d20ed1a615e8c740b5217 (patch)
tree8a7d157847f047f5383c4e7cd4207cbfa7bdbdde /resources/libraries/robot/performance
parentc26a05bbc2430f33a9d0749f0effc345940e2271 (diff)
feat(robot): Infra action
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I55f6e954c865fa0574b9521bd885b68d2a87d39b (cherry picked from commit b6dc632840bab211a2c6484854eda964f1aed160)
Diffstat (limited to 'resources/libraries/robot/performance')
-rw-r--r--resources/libraries/robot/performance/performance_actions.robot32
1 files changed, 32 insertions, 0 deletions
diff --git a/resources/libraries/robot/performance/performance_actions.robot b/resources/libraries/robot/performance/performance_actions.robot
index 1d2ea52274..a25a27a08d 100644
--- a/resources/libraries/robot/performance/performance_actions.robot
+++ b/resources/libraries/robot/performance/performance_actions.robot
@@ -61,6 +61,38 @@
| | Sleep | 1s
| | Stop traffic on tg
+| Additional Statistics Action For infra-warmup
+| | [Documentation]
+| | ... | Additional Statistics Action for infra warmup.
+| |
+| | ... | See documentation of the called keyword for required test variables.
+| |
+| | ${ppta} = | Get Packets Per Transaction Aggregated
+| | ${ramp_up_duration} = | Get Ramp Up Duration
+| | ${ramp_up_rate} = | Get Ramp Up Rate
+| | ${runtime_duration} = | Get Runtime Duration
+| | ${runtime_rate} = | Get Runtime Rate
+| | ${traffic_directions} = | Get Traffic Directions
+| | ${transaction_duration} = | Get Transaction Duration
+| | ${transaction_scale} = | Get Transaction Scale
+| | ${transaction_type} = | Get Transaction Type
+| | ${use_latency} = | Get Use Latency
+| | Send traffic on tg
+| | ... | duration=${5}
+| | ... | rate=${253}
+| | ... | frame_size=${frame_size}
+| | ... | traffic_profile=${traffic_profile}
+| | ... | async_call=${True}
+| | ... | ppta=${ppta}
+| | ... | use_latency=${False}
+| | ... | traffic_directions=${traffic_directions}
+| | ... | transaction_duration=${transaction_duration}
+| | ... | transaction_scale=${transaction_scale}
+| | ... | transaction_type=${transaction_type}
+| | ... | duration_limit=${0.0}
+| | ... | ramp_up_duration=${ramp_up_duration}
+| | ... | ramp_up_rate=${ramp_up_rate}
+
| Additional Statistics Action For vpp-runtime
| | [Documentation]
| | ... | Additional Statistics Action for clear and show runtime counters with