Commit 3cc1f559 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch 'feature/refactoring' into 'master'

Feature/refactoring

See merge request stf/stf-557/api-tests!22
parents 6f04c462 387f1f2c
......@@ -30,11 +30,11 @@ GET information about multiple alarms
... Post-Conditions:
GET Alarms Task
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms with filters
GET information about multiple alarms with attribute-based filter
[Documentation] Test ID: 6.3.4.1.3
... Test title: GET information about multiple alarms - with filters
... Test title: GET information about multiple alarms with attribute-based filter
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 7.4.2.3.3 - SOL002 v2.4.1
......@@ -44,10 +44,10 @@ GET information about multiple alarms with filters
GET Alarms Task with filter
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms Bad Request Invalid attribute-based filtering parameters
GET information about multiple alarms with invalid attribute-based filter
[Documentation] Test ID: 6.3.4.1.4
... Test title: GET information about multiple alarms Bad Request Invalid attribute-based filtering parameters
... Test title: GET information about multiple alarms with invalid attribute-based filter
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 7.4.2.3.4 - SOL002 v2.4.1
......@@ -56,10 +56,63 @@ GET information about multiple alarms Bad Request Invalid attribute-based filter
... Post-Conditions:
GET Alarms Task with invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
Check HTTP Response Body Json Schema Is ProblemDetails
GET information about multiple alarms with "all_fields" attribute selector
[Documentation] Test ID: 6.3.4.1.5
... Test title: GET information about multiple alarms with "all_fields" attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 7.4.2.3.3 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms with exclude_default attribute selector
[Documentation] Test ID: 6.3.4.1.6
... Test title: GET information about multiple alarms with "exclude_default" attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 7.4.2.3.3 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with exclude_default attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms with fields attribute selector
[Documentation] Test ID: 6.3.4.1.7
... Test title: GET information about multiple alarms with fields attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 7.4.2.3.3 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms with "exclude_fields" attribute selector
[Documentation] Test ID: 6.3.4.1.8
... Test title: GET information about multiple alarms with "exclude_fields" attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 7.4.2.3.3 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions: none
GET Alarms Task with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
PUT Alarms - Method not implemented
[Documentation] Test ID: 6.3.4.1.5
[Documentation] Test ID: 6.3.4.1.9
... Test title: PUT Alarms - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
......@@ -71,7 +124,7 @@ PUT Alarms - Method not implemented
Check HTTP Response Status Code Is 405
PATCH Alarms - Method not implemented
[Documentation] Test ID: 6.3.4.1.6
[Documentation] Test ID: 6.3.4.1.10
... Test title: PATCH Alarms - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
......@@ -83,7 +136,7 @@ PATCH Alarms - Method not implemented
Check HTTP Response Status Code Is 405
DELETE Alarms - Method not implemented
[Documentation] Test ID: 6.3.4.1.7
[Documentation] Test ID: 6.3.4.1.11
... Test title: DELETE Alarms - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
......@@ -138,7 +191,7 @@ GET Alarms Task with filter
Log Execute Query and validate response
Get ${apiRoot}/${apiName}/${apiVersion}/alarms?${alarm_filter}=${managedObjectId}
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Set Global Variable @{response} ${outputResponse}
GET Alarms Task with invalid filter
Log Query VNF The GET method queries information about multiple alarms with filters.
Set Headers {"Accept":"${ACCEPT}"}
......@@ -147,8 +200,35 @@ GET Alarms Task with invalid filter
Get ${apiRoot}/${apiName}/${apiVersion}/alarms?${invalid_alarm_filter}=${managedObjectId}
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
GET Alarms Task with all_fields attribute selector
Log Query VNF The GET method queries information about multiple alarms, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/alarms?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
GET Alarms Task with exclude_default attribute selector
Log Query VNF The GET method queries information about multiple alarms, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/alarms?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
GET Alarms Task with fields attribute selector
Log Query VNF The GET method queries information about multiple alarms, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/alarms?fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
GET Alarms Task with exclude_fields attribute selector
Log Query VNF The GET method queries information about multiple alarms, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/alarms?exclude_fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
Check HTTP Response Status Code Is
[Arguments] ${expected_status}
Should Be Equal ${response.status_code} ${expected_status}
Log Status code validated
......@@ -82,7 +82,61 @@ GET subscriptions - Bad Request Invalid attribute-based filtering parameters
Get subscriptions - invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET subscriptions with "all_fields" attribute selector
[Documentation] Test ID: 6.3.4.4.8
... Test title: GET subscriptions with "all_fields" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: section 7.4.5.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
GET subscriptions with "exclude_default" attribute selector
[Documentation] Test ID: 6.3.4.4.9
... Test title: GET subscriptions with "exclude_default" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: section 7.4.5.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with exclude_default attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
GET subscriptions with "fields" attribute selector
[Documentation] Test ID: 6.3.4.4.10
... Test title: GET subscriptions with "fields" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: section 7.4.5.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
GET subscriptions with "exclude_fields" attribute selector
[Documentation] Test ID: 6.3.4.4.11
... Test title: GET subscriptions with "exclude_fields" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: section 7.4.5.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
PUT subscriptions - Method not implemented
[Documentation] Test ID: 6.3.4.4.8
... Test title: PUT subscriptions - Method not implemented
......@@ -172,6 +226,34 @@ Get subscriptions - invalid filter
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?${sub_filter_invalid}
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Get subscriptions with all_fields attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
Get subscriptions with exclude_default attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
Get subscriptions with fields attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
Get subscriptions with exclude_fields attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?exclude_fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
PUT subscriptions
log Trying to perform a PUT. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
......
......@@ -45,3 +45,4 @@ ${AlarmNotification} {}
${AlarmClearedNotification} {}
${AlarmListRebuiltNotification} {}
${fields} softwareImages,additionalArtifacts
\ No newline at end of file
......@@ -86,9 +86,60 @@ GET subscriptions - Bad Request Invalid attribute-based filtering parameters
Get subscriptions - invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET subscriptions with all_fields attribute selector
[Documentation] Test ID: 6.3.5.17.7
... Test title: GET subscriptions with all_fields attribute selector
... Test objective: The objective is Get the list of active subscriptions
... Pre-conditions: none
... Reference: section 5.4.18.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get subscriptions with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is Subscriptions
GET subscriptions with exclude_default attribute selector
[Documentation] Test ID: 6.3.5.17.8
... Test title: GET subscriptions with exclude_default attribute selector
... Test objective: The objective is Get the list of active subscriptions
... Pre-conditions: none
... Reference: section 5.4.18.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get subscriptions with exclude_default attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is Subscriptions
GET subscriptions with fields attribute selector
[Documentation] Test ID: 6.3.5.17.9
... Test title: GET subscriptions with fields attribute selector
... Test objective: The objective is Get the list of active subscriptions
... Pre-conditions: none
... Reference: section 5.4.18.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get subscriptions with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is Subscriptions
GET subscriptions with exclude_fields attribute selector
[Documentation] Test ID: 6.3.5.17.10
... Test title: GET subscriptions with exclude_fields attribute selector
... Test objective: The objective is Get the list of active subscriptions
... Pre-conditions: none
... Reference: section 5.4.18.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get subscriptions with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is Subscriptions
PUT subscriptions - Method not implemented
[Documentation] Test ID: 6.3.5.17.7
[Documentation] Test ID: 6.3.5.17.11
... Test title: PUT subscriptions - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
......@@ -100,7 +151,7 @@ PUT subscriptions - Method not implemented
Check HTTP Response Status Code Is 405
PATCH subscriptions - Method not implemented
[Documentation] Test ID: 6.3.5.17.8
[Documentation] Test ID: 6.3.5.17.12
... Test title: PATCH subscriptions - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
......@@ -112,7 +163,7 @@ PATCH subscriptions - Method not implemented
Check HTTP Response Status Code Is 405
DELETE subscriptions - Method not implemented
[Documentation] Test ID: 6.3.5.17.9
[Documentation] Test ID: 6.3.5.17.13
... Test title: DELETE subscriptions - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
......
......@@ -59,9 +59,61 @@ GET information about multiple VNF instances Bad Request Invalid attribute selec
GET multiple vnfInstances with bad filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET information about multiple VNF instances with "all_fields" attribute selector
[Documentation] Test ID: 6.3.5.1.5
... Test title: GET information about multiple VNF instances with "all_fields" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Pre-conditions:
... Reference: section 5.4.2.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability:
... Post-Conditions:
GET multiple vnfInstances with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
GET information about multiple VNF instances with "exclude_default" attribute selector
[Documentation] Test ID: 6.3.5.1.6
... Test title: GET information about multiple VNF instances with "exclude_default" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Pre-conditions:
... Reference: section 5.4.2.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability:
... Post-Conditions:
GET multiple vnfInstances with exclude_default attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
GET information about multiple VNF instances with "fields" attribute selector
[Documentation] Test ID: 6.3.5.1.7
... Test title: GET information about multiple VNF instances with "fields" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Pre-conditions:
... Reference: section 5.4.2.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability:
... Post-Conditions:
GET multiple vnfInstances with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
GET information about multiple VNF instances with "exclude_fields" attribute selector
[Documentation] Test ID: 6.3.5.1.8
... Test title: GET information about multiple VNF instances with "exclude_fields" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Pre-conditions:
... Reference: section 5.4.2.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability:
... Post-Conditions:
GET multiple vnfInstances with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
PUT VNFInstances - Method not implemented
[Documentation] Test ID: 6.3.5.1.5
[Documentation] Test ID: 6.3.5.1.9
... Test title: PUT VNFInstances - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions:
......@@ -73,7 +125,7 @@ PUT VNFInstances - Method not implemented
Check HTTP Response Status Code Is 405
PATCH VNFInstances - Method not implemented
[Documentation] Test ID: 6.3.5.1.6
[Documentation] Test ID: 6.3.5.1.10
... Test title: PATCH VNFInstances - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions:
......@@ -85,7 +137,7 @@ PATCH VNFInstances - Method not implemented
Check HTTP Response Status Code Is 405
DELETE VNFInstances - Method not implemented
[Documentation] Test ID: 6.3.5.1.7
[Documentation] Test ID: 6.3.5.1.11
... Test title: DELETE VNFInstances - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions:
......
......@@ -109,7 +109,34 @@ GET multiple vnfInstances with bad filter
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_instances?fields=wrong_field
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
GET multiple vnfInstances with all_fields attribute selector
Log Query status information about multiple VNF instances, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_instances?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
GET multiple vnfInstances with exclude_default attribute selector
Log Query status information about multiple VNF instances using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_instances?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
GET multiple vnfInstances with fields attribute selector
Log Query status information about multiple VNF instances, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_instances?fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
GET multiple vnfInstances with exclude_fields attribute selector
Log Query status information about multiple VNF instances, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_instances?exclude_fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
PUT multiple vnfInstances
log Trying to perform a PUT. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
......@@ -745,6 +772,34 @@ Get subscriptions - invalid filter
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?${sub_filter_invalid}
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Get subscriptions with all_fields attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
Get subscriptions with exclude_default attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?exclude_default
${output}= Output response
Set Suite Variable ${response} ${output}
Get subscriptions with fields attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
Get subscriptions with exclude_fields attribute selector
Log Get the list of active subscriptions, using fields
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/subscriptions?exclude_fields=${fields}
${output}= Output response
Set Suite Variable ${response} ${output}
PUT subscriptions
log Trying to perform a PUT. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
......
......@@ -58,6 +58,58 @@ GET status information about multiple VNF LCM Operation occurrences Bad Request
GET VNF LCM OP occurences invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET status information about multiple VNF LCM Operation OCC with "all_fields"
[Documentation] Test ID: 6.3.5.11.5
... Test title: GET status information about multiple VNF LCM Operation OCC with "all_fields"
... Test objective: The objective is to test that GET method retrieve Query status information about multiple VNF lifecycle management operation occurrences.
... Pre-conditions: none
... Reference: section 5.4.12.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get VNF LCM Operation occurrences with all_fields attribute selector
Check HTTP Response Status Code Is 202
Check HTTP Response Body Json Schema Is VnfLcmOpOccs
GET status information about multiple VNF LCM Operation OCC with "exlude_default"
[Documentation] Test ID: 6.3.5.11.6
... Test title: GET status information about multiple VNF LCM Operation OCC with "exclude_default"
... Test objective: The objective is to test that GET method retrieve Query status information about multiple VNF lifecycle management operation occurrences.
... Pre-conditions: none
... Reference: section 5.4.12.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get VNF LCM Operation occurrences with exclude_default attribute selector
Check HTTP Response Status Code Is 202
Check HTTP Response Body Json Schema Is VnfLcmOpOccs
GET status information about multiple VNF LCM Operation OCC with "fields"
[Documentation] Test ID: 6.3.5.11.7
... Test title: GET status information about multiple VNF LCM Operation OCC with "fields"
... Test objective: The objective is to test that GET method retrieve Query status information about multiple VNF lifecycle management operation occurrences.
... Pre-conditions: none
... Reference: section 5.4.12.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get VNF LCM Operation occurrences with fields attribute selector
Check HTTP Response Status Code Is 202
Check HTTP Response Body Json Schema Is VnfLcmOpOccs
GET status information about multiple VNF LCM Operation OCC with "exclude_fields"
[Documentation] Test ID: 6.3.5.11.8
... Test title: GET status information about multiple VNF LCM Operation OCC with "exclude_fields"
... Test objective: The objective is to test that GET method retrieve Query status information about multiple VNF lifecycle management operation occurrences.
... Pre-conditions: none
... Reference: section 5.4.12.3.2 - SOL002 v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
Get VNF LCM Operation occurrences with exclude_fields attribute selector
Check HTTP Response Status Code Is 202
Check HTTP Response Body Json Schema Is VnfLcmOpOccs
PUT status information about multiple VNF LCM operation occurrences - Method not implemented
[Documentation] Test ID: 6.3.5.11.5
......
......@@ -34,9 +34,9 @@ Get information about multiple alarms
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is Alarms
Get information about multiple alarms with filters
Get information about multiple alarms with filter
[Documentation] Test ID: 7.3.5.1.3
... Test title: Get information about multiple alarms with filters
... Test title: Get information about multiple alarms with filter
... Test objective: The objective is to retrieve information about the alarm list and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
... Reference: section 7.4.2.3.2 - SOL003 v2.4.1
......@@ -59,9 +59,61 @@ Get information about multiple alarms Bad Request Invalid attribute-based filter
GET Fault Management Alarms With Invalid Filters
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET information about multiple alarms with "all_fields" attribute selector
[Documentation] Test ID: 7.3.5.1.5
... Test title: GET information about multiple alarms with "all_fields" attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 7.4.2.3.2 - SOL003 v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms