aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing/user/userguide/network_testcase_description.rst
blob: 66fda0732e9a3722199b355e7634020221a24efa (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. (c) 2018 Spirent Communications Corp.
.. Template to be used for test case descriptions in QTIP Project.


Test Case Description
=====================

+-----------------------------------------------------------------------------+
|Network throughput                                                           |
+==============+==============================================================+
|test case id  | qtip_throughput                                              |
+--------------+--------------------------------------------------------------+
|metric        | rfc2544 throughput                                           |
+--------------+--------------------------------------------------------------+
|test purpose  | get the max throughput of the pathway on same host or accross|
|              | hosts                                                        |
+--------------+--------------------------------------------------------------+
|configuration | None                                                         |
+--------------+--------------------------------------------------------------+
|test tool     | Spirent Test Center Virtual                                  |
+--------------+--------------------------------------------------------------+
|references    | RFC2544                                                      |
+--------------+--------------------------------------------------------------+
|applicability | 1. test the switch throughput on same host or accross hosts  |
|              | 2. test the switch throughput for different packet sizes     |
+--------------+--------------------------------------------------------------+
|pre-test      | 1. deploy STC license server and LabServer on public network |
|conditions    | and verify it can operate correctlly                         |
|              | 2. upload STC virtual image and create STCv flavor on the    |
|              | deployed cloud environment                                   |
+--------------+------+----------------------------------+--------------------+
|test sequence | step | description                      | result             |
|              +------+----------------------------------+--------------------+
|              |  1   | deploy STCv stack on the target  | 2 STCv VM will be  |
|              |      | cloud with affinity attribute    | established on the |
|              |      | according to requirements.       | cloud              |
|              +------+----------------------------------+--------------------+
|              |  2   | run rfc2544 throughput test with | test result report |
|              |      | different packet size            | will be produced in|
|              |      |                                  | QTIP container     |
|              +------+----------------------------------+--------------------+
|              |  3   | destory STCv stack               | STCv stack         |
|              |      | different packet size            | destoried          |
+--------------+------+----------------------------------+--------------------+
|test verdict  | find the test result report in QTIP container running        |
|              | directory                                                    |
+--------------+--------------------------------------------------------------+

+-----------------------------------------------------------------------------+
|Network throughput                                                           |
+==============+==============================================================+
|test case id  | qtip_latency                                                 |
+--------------+--------------------------------------------------------------+
|metric        | rfc2544 lantency                                             |
+--------------+--------------------------------------------------------------+
|test purpose  | get the latency value of the pathway on same host or accross |
|              | hosts                                                        |
+--------------+--------------------------------------------------------------+
|configuration | None                                                         |
+--------------+--------------------------------------------------------------+
|test tool     | Spirent Test Center Virtual                                  |
+--------------+--------------------------------------------------------------+
|references    | RFC2544                                                      |
+--------------+--------------------------------------------------------------+
|applicability | 1. test the switch latency on same host or accross hosts     |
|              | 2. test the switch latency for different packet sizes        |
+--------------+--------------------------------------------------------------+
|pre-test      | 1. deploy STC license server and LabServer on public network |
|conditions    | and verify it can operate correctlly                         |
|              | 2. upload STC virtual image and create STCv flavor on the    |
|              | deployed cloud environment                                   |
+--------------+------+----------------------------------+--------------------+
|test sequence | step | description                      | result             |
|              +------+----------------------------------+--------------------+
|              |  1   | deploy STCv stack on the target  | 2 STCv VM will be  |
|              |      | cloud with affinity attribute    | established on the |
|              |      | according to requirements.       | cloud              |
|              +------+----------------------------------+--------------------+
|              |  2   | run rfc2544 latency test with    | test result report |
|              |      | different packet size            | will be produced in|
|              |      |                                  | QTIP container     |
|              +------+----------------------------------+--------------------+
|              |  3   | destroy STCv stack               | STCv stack         |
|              |      |                                  | destried           |
+--------------+------+----------------------------------+--------------------+
|test verdict  | find the test result report in QTIP container running        |
|              | directory                                                    |
+--------------+--------------------------------------------------------------+

+-----------------------------------------------------------------------------+
|Network Latency                                                              |
+==============+==============================================================+
|test case id  | e.g. qtip_throughput                                         |
+--------------+--------------------------------------------------------------+
|metric        | what will be measured, e.g. latency                          |
+--------------+--------------------------------------------------------------+
|test purpose  | describe what is the purpose of the test case                |
+--------------+--------------------------------------------------------------+
|configuration | what .yaml file to use, state SLA if applicable, state       |
|              | test duration, list and describe the scenario options used in|
|              | this TC and also list the options using default values.      |
+--------------+--------------------------------------------------------------+
|test tool     | e.g. ping                                                    |
+--------------+--------------------------------------------------------------+
|references    | RFC2544                                                      |
+--------------+--------------------------------------------------------------+
|applicability | describe variations of the test case which can be            |
|              | performend, e.g. run the test for different packet sizes     |
+--------------+--------------------------------------------------------------+
|pre-test      | describe configuration in the tool(s) used to perform        |
|conditions    | the measurements (e.g. fio, pktgen), POD-specific            |
|              | configuration required to enable running the test            |
+--------------+------+----------------------------------+--------------------+
|test sequence | step | description                      | result             |
|              +------+----------------------------------+--------------------+
|              |  1   | use this to describe tests that  | what happens in    |
|              |      | require several steps e.g.       | this step          |
|              |      | step 1 collect logs              | e.g. logs collected|
|              +------+----------------------------------+--------------------+
|              |  2   | remove interface                 | interface down     |
|              +------+----------------------------------+--------------------+
|              |  N   | what is done in step N           | what happens       |
+--------------+------+----------------------------------+--------------------+
|test verdict  | expected behavior, or SLA, pass/fail criteria                |
+--------------+--------------------------------------------------------------+