Newer
Older
Elian Kraja
committed
*** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Elian Kraja
committed
Resource environment/individualVnfPackage.txt
Resource VNFPackageManagementKeywords.robot
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
Elian Kraja
committed
*** Test Cases ***
GET Individual VNF Package
[Documentation] Test ID: 7.3.3.2.1
... Test title: GET Individual VNF Package
... Test objective: The objective is to test the retrieval of an individual VNF package information perform a JSON schema validation of the collected data structure
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
Giacomo Bernini
committed
... Reference: clause 10.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Individual VNF Package
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfPkgInfo
Check HTTP Response Body vnfPkgInfo Identifier matches the requested VNF Package
Elian Kraja
committed
GET Individual VNF Package with invalid resource identifier
[Documentation] Test ID: 7.3.3.2.2
... Test title: GET Individual VNF Package with invalid resource identifier
... Test objective: The objective is to test that the retrieval of an individual VNF package fails when using an invalid resource identifier
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
Giacomo Bernini
committed
... Reference: clause 10.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Individual VNF Package with invalid resource identifier
Check HTTP Response Status Code Is 404
Elian Kraja
committed
POST Individual VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.3
... Test title: POST Individual VNF Package - Method not implemented
... Test objective: The objective is to test that POST method is not allowed to create new VNF Package
... Pre-conditions: none
Giacomo Bernini
committed
... Reference: clause 10.4.3.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Send POST Request for individual VNF Package
Check HTTP Response Status Code Is 405
Elian Kraja
committed
PUT Individual VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.4
... Test title: PUT Individual VNF Package - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed to modify a VNF Package
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
Giacomo Bernini
committed
... Reference: clause 10.4.3.3.3 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
Send PUT Request for individual VNF Package
Check HTTP Response Status Code Is 405
Elian Kraja
committed
PATCH Individual VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.5
... Test title: PATCH Individual VNF Package - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to update a VNF Package
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
Giacomo Bernini
committed
... Reference: clause 10.4.3.3.4 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Send PATCH Request for individual VNF Package
Check HTTP Response Status Code Is 405
Elian Kraja
committed
DELETE Individual VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.6
... Test title: DELETE Individual VNF Package - Method not implemented
... Test objective: The objective is to test that DELETE method is not allowed to delete a VNF Package
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
Giacomo Bernini
committed
... Reference: clause 10.4.3.3.5 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The VNF Package is not deleted by the failed operation
Send DELETE Request for individual VNF Package
Check HTTP Response Status Code Is 405
Giacomo Bernini
committed
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
Check Postcondition VNF Package Exist
GET Individual OnBoarded VNF Package
[Documentation] Test ID: 7.3.3.2.7
... Test title: GET Individual OnBoarded VNF Package
... Test objective: The objective is to test the retrieval of an individual OnBoarded VNF package information perform a JSON schema validation of the collected data structure
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
... Reference: clause 10.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Individual OnBoarded VNF Package
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfPkgInfo
Check HTTP Response Body vnfPkgInfo Identifier matches the requested VNF Package
GET Individual OnBoarded VNF Package with invalid resource identifier
[Documentation] Test ID: 7.3.3.2.8
... Test title: GET Individual OnBoarded VNF Package with invalid resource identifier
... Test objective: The objective is to test that the retrieval of an individual OnBoarded VNF package fails when using an invalid resource identifier
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
... Reference: clause 10.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Individual OnBoarded VNF Package with invalid resource identifier
Check HTTP Response Status Code Is 404
POST Individual OnBoarded VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.9
... Test title: POST Individual OnBoarded VNF Package - Method not implemented
... Test objective: The objective is to test that POST method is not allowed to create new OnBoarded VNF Package
... Pre-conditions: none
... Reference: clause 10.4.3.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Send POST Request for individual OnBoarded VNF Package
Check HTTP Response Status Code Is 405
PUT Individual OnBoarded VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.10
... Test title: PUT Individual OnBoarded VNF Package - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed to modify a VNF Package
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
... Reference: clause 10.4.3.3.3 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Send PUT Request for individual OnBoarded VNF Package
Check HTTP Response Status Code Is 405
PATCH Individual OnBoarded VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.11
... Test title: PATCH Individual OnBoarded VNF Package - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to update a VNF Package
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
... Reference: clause 10.4.3.3.4 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Send PATCH Request for individual OnBoarded VNF Package
Check HTTP Response Status Code Is 405
DELETE Individual OnBoarded VNF Package - Method not implemented
[Documentation] Test ID: 7.3.3.2.12
... Test title: DELETE Individual OnBoarded VNF Package - Method not implemented
... Test objective: The objective is to test that DELETE method is not allowed to delete a VNF Package
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
... Reference: clause 10.4.3.3.5 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The VNF Package is not deleted by the failed operation
Send DELETE Request for individual OnBoarded VNF Package
Check HTTP Response Status Code Is 405
Check Postcondition VNF Package Exist