From c83e56600cd70648c1e4e4d144dca8506626893e Mon Sep 17 00:00:00 2001 From: Gwenael Lambrouin Date: Wed, 26 May 2021 17:30:13 +0200 Subject: 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 --- behave_tests/features/quick-test-10kpps.feature | 13 +++++++++++++ xtesting/testcases.yaml | 23 ++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 behave_tests/features/quick-test-10kpps.feature 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: - -- cgit 1.2.3-korg