Newer
Older
** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt
Library JSONLibrary
Library OperatingSystem
Resource NFVMANOCimKeywords.robot
Library REST ${NFVMANO_SCHEMA}://${NFVMANO_HOST}:${NFVMANO_PORT} ssl_verify=false
Library MockServerLibrary
*** Test Cases ***
POST Change State Operation Occurance - Method not implemented
[Documentation] Test ID: 8.3.1.3.1
... Test title: POST Change State Operation Occurance - Method not implemented
... Test objective: The objective is to test that POST method is not implemeted.
... Reference: clause 5.5.8.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
Send Post request for Change State Operation Occurance
Check HTTP Response Status Code Is 405
GET Change State Operation Occurance
[Documentation] Test ID: 8.3.1.3.2
... Test title: GET Change State Operation Occurance
... Test objective: The objective is to query status information about multiple change state operation occurrences.
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
Get Change State OpOcc
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is ChangeStateOpOccs
GET Change State Operation Occurance - invalid attribute-based filter
[Documentation] Test ID: 8.3.1.3.3
... Test title: GET Change State Operation Occurance - invalid attribute-based filter
... Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response.
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
Get Change State OpOcc with invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET Change State Operation Occurance - invalid attribute selector
[Documentation] Test ID: 8.3.1.3.4
... Test title: GET Change State Operation Occurance - invalid attribute selector
... Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response.
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
Get Change State OpOcc with invalid selector
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET Change State Operation Occurance - Bad Request Response too Big
[Documentation] Test ID: 8.3.1.3.5
... Test title: GET Change State Operation Occurance - Bad Request Response too Big
... Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response.
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
Get Change State OpOcc
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET Change State Operation Occurance with attribute-based filter
[Documentation] Test ID: 8.3.1.3.6
... Test title: GET Change State Operation Occurance with attribute-based filter
... Test objective: The objective is to query status information about multiple change state operation occurrences with attribute filters
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
Get Change State OpOcc with filter
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is ChangeStateOpOcc
GET Change State Operation Occurance with "all_fields" attribute selector
[Documentation] Test ID: 8.3.1.3.7
... Test title: GET Change State Operation Occurance with "all_fields" attribute selector
... Test objective: The objective is to retrieve Change State Operation Occurance with "all_fields" attribute selector
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
Get Change State OpOcc with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is ChangeStateOpOcc
GET Change State Operation Occurance with "exclude_default" attribute selector
[Documentation] Test ID: 8.3.1.3.8
... Test title: GET Change State Operation Occurance with "exclude_default" attribute selector
... Test objective: The objective is to retrieve Change State Operation Occurance with "exclude_default" attribute selector
... Pre-conditions:
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability:
... Post-Conditions:
Get Change State OpOcc with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is ChangeStateOpOcc
GET Change State Operation Occurance with "fields" attribute selector
[Documentation] Test ID: 8.3.1.3.9
... Test title: GET Change State Operation Occurance with "fields" attribute selector
... Test objective: The objective is to retrieve Change State Operation Occurance with fields attribute selector
... Pre-conditions:
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability:
... Post-Conditions:
Get Change State OpOcc with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is ChangeStateOpOcc
GET Change State Operation Occurance with "exclude_fields" attribute selector
[Documentation] Test ID: 8.3.1.3.10
... Test title: GET Change State Operation Occurance with "exclude_fields" attribute selector
... Test objective: The objective is to retrieve Change State Operation Occurance with "exclude_fields" attribute selector
... Pre-conditions:
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability:
... Post-Conditions: none
Get Change State OpOcc with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is ChangeStateOpOcc
GET Change State Operation Occurance with Paged Response
[Documentation] Test ID: 8.3.1.3.11
... Test title: GET Change State Operation Occurance with Paged Response
... Test objective: The objective is to query Change State Operation Occurance to get Paged Response.
... Pre-conditions:
... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability:
... Post-Conditions:
Get Change State OpOcc
Check HTTP Response Status Code Is 200
Check LINK in Header
PUT Change State Operation Occurance - Method not implemented
[Documentation] Test ID: 8.3.1.3.12
... Test title: PUT Change State Operation Occurance - Method not implemented
... Test objective: The objective is to test that PUT method is not implemeted.
... Pre-conditions:
... Reference: clause 5.5.8.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions:
Send Put request for Change State Operation Occurance
Check HTTP Response Status Code Is 405
PATCH Change State Operation Occurance - Method not implemented
[Documentation] Test ID: 8.3.1.3.13
... Test title: PATCH Change State Operation Occurance - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemeted.
... Pre-conditions:
... Reference: clause 5.5.8.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions:
Send Patch request for Change State Operation Occurance
Check HTTP Response Status Code Is 405
DELETE Change State Operation Occurance - Method not implemented
[Documentation] Test ID: 8.3.1.3.14
... Test title: DELETE Change State Operation Occurance - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemeted.
... Pre-conditions:
... Reference: clause 5.5.8.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions:
Send Delete request for Change State Operation Occurance
Check HTTP Response Status Code Is 405