summaryrefslogtreecommitdiffstats
path: root/behave_tests/features/characterization-full.feature
blob: f8bca5fe2af6b05e596a965f275d7a1e35640a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@characterization
Feature: characterization

  @throughput
  Scenario Outline: Run a NDR test for a defined frame size and flow count
      Given 10 sec run duration
      And TRex is restarted
      And <frame_size> frame size
      And <flow_count> flow count
      And ndr rate
      When NFVbench API is ready
      Then 3 runs are started and waiting for maximum result
      And push result to database
      And extract offered rate result

     Examples: Frame sizes and flow counts
      | frame_size | flow_count |
      | 64         | 128        |
      | 128        | 128        |
      | 256        | 128        |
      | 512        | 128        |
      | 768        | 128        |
      | 1024       | 128        |
      | 1280       | 128        |
      | 1518       | 128        |
      | IMIX       | 128        |
      | 9000       | 128        |
      | 64         | 10k        |
      | 128        | 10k        |
      | 256        | 10k        |
      | 512        | 10k        |
      | 768        | 10k        |
      | 1024       | 10k        |
      | 1280       | 10k        |
      | 1518       | 10k        |
      | IMIX       | 10k        |
      | 9000       | 10k        |
      | 64         | 100k       |
      | 128        | 100k       |
      | 256        | 100k       |
      | 512        | 100k       |
      | 768        | 100k       |
      | 1024       | 100k       |
      | 1280       | 100k       |
      | 1518       | 100k       |
      | IMIX       | 100k       |
      | 9000       | 100k       |


  @latency
  Scenario Outline: Run a latency test for a defined frame size and throughput percentage
      Given 10 sec run duration
      And TRex is restarted
      And <frame_size> frame size
      And 100k flow count
      And <throughput> rate of previous scenario
      When NFVbench API is ready
      Then run is started and waiting for result
      And push result to database

     Examples: Frame sizes and throughput percentages
      | frame_size | throughput |
      | 64         | 70%        |
      | 64         | 90%        |
      | 768        | 70%        |
      | 768        | 90%        |
      | 1518       | 70%        |
      | 1518       | 90%        |
      | 9000       | 70%        |
      | 9000       | 90%        |