aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/wrk/wrk_utils.robot
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-11-12 05:27:43 +0100
committerJan Gelety <jgelety@cisco.com>2019-11-28 18:26:21 +0100
commitd68951ac245150eeefa6e0f4156e4c1b5c9e9325 (patch)
tree487554a7547218d27f0a61ec02b70502c32cdcb4 /resources/libraries/robot/wrk/wrk_utils.robot
parented0258a440cfad7023d643f717ab78ac568dc59b (diff)
Python3: resources and libraries
Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot/wrk/wrk_utils.robot')
-rw-r--r--resources/libraries/robot/wrk/wrk_utils.robot32
1 files changed, 16 insertions, 16 deletions
diff --git a/resources/libraries/robot/wrk/wrk_utils.robot b/resources/libraries/robot/wrk/wrk_utils.robot
index 1c65228130..1f6261af5a 100644
--- a/resources/libraries/robot/wrk/wrk_utils.robot
+++ b/resources/libraries/robot/wrk/wrk_utils.robot
@@ -17,7 +17,7 @@
| Library | resources.libraries.python.DUTSetup
| Library | resources.libraries.python.TrafficGenerator
| Library | resources.libraries.python.topology.Topology
-| ...
+|
| Documentation | L2 keywords to set up wrk and to measure performance
| ... | parameters using wrk.
@@ -25,17 +25,17 @@
| Measure throughput
| | [Documentation]
| | ... | Measure throughput using wrk.
-| | ...
+| |
| | ... | *Arguments:*
| | ... | - ${profile} - The name of the wrk traffic profile defining the
| | ... | traffic. Type: string
-| | ...
+| |
| | ... | *Example:*
-| | ...
+| |
| | ... | \| Measure throughput \| wrk-bw-1url-1core-50con \|
-| | ...
+| |
| | [Arguments] | ${profile}
-| | ...
+| |
| | ${tg_numa}= | Get interfaces numa node | ${tg} | ${tg_if1} | ${tg_if2}
| | ${output}= | Run wrk | ${tg} | ${profile} | ${tg_numa} | bw
| | Set test message | ${output}
@@ -43,17 +43,17 @@
| Measure requests per second
| | [Documentation]
| | ... | Measure number of requests per second using wrk.
-| | ...
+| |
| | ... | *Arguments:*
| | ... | - ${profile} - The name of the wrk traffic profile defining the
| | ... | traffic. Type: string
-| | ...
+| |
| | ... | *Example:*
-| | ...
+| |
| | ... | \| Measure requests per second \| wrk-bw-1url-1core-50con \|
-| | ...
+| |
| | [Arguments] | ${profile}
-| | ...
+| |
| | ${tg_numa}= | Get interfaces numa node | ${tg} | ${tg_if1} | ${tg_if2}
| | ${output}= | Run wrk | ${tg} | ${profile} | ${tg_numa} | rps
| | Set test message | ${output}
@@ -61,17 +61,17 @@
| Measure connections per second
| | [Documentation]
| | ... | Measure number of connections per second using wrk.
-| | ...
+| |
| | ... | *Arguments:*
| | ... | - ${profile} - The name of the wrk traffic profile defining the
| | ... | traffic. Type: string
-| | ...
+| |
| | ... | *Example:*
-| | ...
+| |
| | ... | \| Measure connections per second \| wrk-bw-1url-1core-50con \|
-| | ...
+| |
| | [Arguments] | ${profile}
-| | ...
+| |
| | ${tg_numa}= | Get interfaces numa node | ${tg} | ${tg_if1} | ${tg_if2}
| | ${output}= | Run wrk | ${tg} | ${profile} | ${tg_numa} | cps
| | Set test message | ${output}