6adb1847ffb512c54913a993a6231eb84ae5e771
[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 TRex is restarted
8       And <frame_size> frame size
9       And <flow_count> flow count
10       And ndr rate
11       When NFVbench API is ready
12       Then 3 runs are started and waiting for maximum result
13       And push result to database
14       And extract offered rate result
15
16      Examples: Frame sizes and flow counts
17       | frame_size | flow_count |
18       | 64         | 100k        |
19       | 768        | 100k        |
20       | 1518       | 100k        |
21       | 9000       | 100k        |
22
23
24   @latency
25   Scenario Outline: Run a latency test for a defined frame size and throughput percentage
26       Given 10 sec run duration
27       And TRex is restarted
28       And <frame_size> frame size
29       And 100k flow count
30       And <throughput> rate of previous scenario
31       When NFVbench API is ready
32       Then run is started and waiting for result
33       And push result to database
34
35      Examples: Frame sizes and throughput percentages
36       | frame_size | throughput |
37       | 64         | 70%        |
38       | 64         | 90%        |
39       | 768        | 70%        |
40       | 768        | 90%        |
41       | 1518       | 70%        |
42       | 1518       | 90%        |
43       | 9000       | 70%        |
44       | 9000       | 90%        |