behave_tests: add feature quick-test-10kpps 31/72631/1
authorGwenael Lambrouin <gwenael.lambrouin@orange.com>
Wed, 26 May 2021 15:30:13 +0000 (17:30 +0200)
committerGwenael Lambrouin <gwenael.lambrouin@orange.com>
Wed, 2 Jun 2021 16:22:37 +0000 (18:22 +0200)
Add a quick test at low packet rate for troubleshooting purpose:
- duration: 10s
- fixed packet rate: 10kpps
- frame size: 64
- flow count: 128

Change-Id: Ib736dbe7ade6d0b6e4d484a6d8bfca34bb5c4c5a
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
behave_tests/features/quick-test-10kpps.feature [new file with mode: 0644]
xtesting/testcases.yaml

diff --git a/behave_tests/features/quick-test-10kpps.feature b/behave_tests/features/quick-test-10kpps.feature
new file mode 100644 (file)
index 0000000..d46000c
--- /dev/null
@@ -0,0 +1,13 @@
+@quick-test-10kpps
+Feature: quick-test-10kpps
+
+  @throughput
+  Scenario: Run a 10s test at 10kpps with 64-byte frames and 128 flows
+      Given 10 sec run duration
+      And TRex is restarted
+      And 64 frame size
+      And 128 flow count
+      And 10kpps rate
+      When NFVbench API is ready
+      Then 1 runs are started and waiting for maximum result
+      And push result to database
index bb4a521..03579b7 100644 (file)
@@ -60,8 +60,29 @@ tiers:
                         console:
                             - true
     -
-        name: nfvbench-demo
+        name: quick-test-10kpps
         order: 3
+        description: 'Quick nfvbench test at low packet rate'
+        testcases:
+            -
+                case_name: quick-test-10kpps
+                project_name: nfvbench
+                criteria: 100
+                blocking: true
+                clean_flag: false
+                description: ''
+                run:
+                    name: 'nfvbench_behaveframework'
+                    args:
+                        suites:
+                            - /opt/nfvbench/behave_tests/features/quick-test-10kpps.feature
+                        tags:
+                            - quick-test-10kpps
+                        console:
+                            - true
+    -
+        name: nfvbench-demo
+        order: 4
         description: 'Data Plane Performance Testing'
         testcases:
             -