NFVBENCH-210 Remove TRex restart from behave test scenarios
[nfvbench.git] / behave_tests / features / characterization-samples.feature
1 @characterization
2 Feature: characterization
3
4   @throughput
5   Scenario Outline: Run a NDR test for a defined frame size and flow count
6       Given 10 sec run duration
7       And <frame_size> frame size
8       And <flow_count> flow count
9       And ndr rate
10       When NFVbench API is ready
11       Then 3 runs are started and waiting for maximum result
12       And push result to database
13       And extract offered rate result
14
15      Examples: Frame sizes and flow counts
16       | frame_size | flow_count |
17       | 64         | 100k        |
18       | 768        | 100k        |
19       | 1518       | 100k        |
20       | 9000       | 100k        |
21
22
23   @latency
24   Scenario Outline: Run a latency test for a defined frame size and throughput percentage
25       Given 10 sec run duration
26       And <frame_size> frame size
27       And 100k flow count
28       And <throughput> rate of previous scenario
29       When NFVbench API is ready
30       Then run is started and waiting for result
31       And push result to database
32
33      Examples: Frame sizes and throughput percentages
34       | frame_size | throughput |
35       | 64         | 70%        |
36       | 64         | 90%        |
37       | 768        | 70%        |
38       | 768        | 90%        |
39       | 1518       | 70%        |
40       | 1518       | 90%        |
41       | 9000       | 70%        |
42       | 9000       | 90%        |