summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenael Lambrouin <gwenael.lambrouin@orange.com>2021-05-26 17:30:13 +0200
committerGwenael Lambrouin <gwenael.lambrouin@orange.com>2021-06-02 18:22:37 +0200
commitc83e56600cd70648c1e4e4d144dca8506626893e (patch)
treeb768a9959714d3dece7bc7064d7a84d7cd8919df
parent3bcb0c131c4acf52f2e978a61664c0fdca9c6bcf (diff)
behave_tests: add feature quick-test-10kpps
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>
-rw-r--r--behave_tests/features/quick-test-10kpps.feature13
-rw-r--r--xtesting/testcases.yaml23
2 files changed, 35 insertions, 1 deletions
diff --git a/behave_tests/features/quick-test-10kpps.feature b/behave_tests/features/quick-test-10kpps.feature
new file mode 100644
index 0000000..d46000c
--- /dev/null
+++ b/behave_tests/features/quick-test-10kpps.feature
@@ -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
diff --git a/xtesting/testcases.yaml b/xtesting/testcases.yaml
index bb4a521..03579b7 100644
--- a/xtesting/testcases.yaml
+++ b/xtesting/testcases.yaml
@@ -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:
-