[Documentation]The client can use this method to query information about thresholds.
...This method shall follow the provisions specified in the tables 6.4.5.3.2-1 and 6.4.5.3.2-2 for URI query parameters,
...request and response data structures, and response codes.
[Documentation]Test ID: 6.3.3.5.1
...Test title: GET Individual Threshold
...Test objective: The objective is to test the retrieval of an individual VNF performance threshold and perform a JSON schema and content validation of the collected threshold data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: section 6.4.6.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET individual VNF Performance Threshold
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsThreshold
Check HTTP Response Body Threshold Identifier matches the requested Threshold
GET Individual Threshold with invalid resource identifier
[Documentation]Test ID: 6.3.3.5.2
...Test title: GET Individual Threshold with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual VNF performance threshold fails when using an invalid resource identifier
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
...Reference: section 6.4.6.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET individual VNF Performance Threshold with invalid resource identifier
Check HTTP Response Status Code Is404
DELETE Individual Threshold
[Documentation]Test ID: 6.3.3.5.3
...Test title: DELETE Individual Threshold
...Test objective: The objective is to test the deletion of an individual VNF performance threshold
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: section 6.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance Threshold is no more available in the VNFM
Send Delete request for individual VNF Performance Threshold
Check HTTP Response Status Code Is204
Check Postcondition VNF Performance Threshold is Deleted
DELETE Individual Threshold with invalid resource indentifier
[Documentation]Test ID: 6.3.3.5.4
...Test title: DELETE Individual Threshold with invalid resource indentifier
...Test objective: The objective is to test the deletion of an individual VNF performance threshold
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: section 6.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Delete request for individual VNF Performance Threshold with invalid resource identifier
Check HTTP Response Status Code Is404
POST Individual Threshold - Method not implemented
[Documentation]Test ID: 6.3.3.5.5
...Test title: POST Individual Threshold - Method not implemented
...Test objective: The objective is to test that POST method is not allowed to create a new VNF Performance Threshold
...Pre-conditions: A VNF instance is instantiated
...Reference: section 6.4.6.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance Threshold is not created on the VNFM
Send Post request for individual VNF Performance Threshold
Check HTTP Response Status Code Is405
Check Postcondition VNF Performance Threshold is not Created
PUT Individual Threshold - Method not implemented
[Documentation]Test ID: 6.3.3.5.6
...Test title: PUT Individual Threshold - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to update an existing VNF Performance threshold
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance threhsolds are set in the VNFM.
...Reference: section 6.4.6.3.3 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance Threshold is not modified by the operation
Send Put request for individual VNF Performance Threshold
Check HTTP Response Status Code Is405
Check Postcondition VNF Performance Threshold is Unmodified (Implicit)
PATCH Individual Threshold - Method not implemented
[Documentation]Test ID: 6.3.3.5.7
...Test title: PATCH Individual Threshold - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to modify an existing VNF Performance threshold
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance threhsolds are set in the VNFM.
...Reference: section 6.4.6.3.4 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance Threshold is not modified by the operation
Send Patch request for individual VNF Performance Threshold
Check HTTP Response Status Code Is405
Check Postcondition VNF Performance Threshold is Unmodified (Implicit)
*** Keywords ***
GET Individual VNF Performance Threshold
LogTrying to get a Threhsold present in the VNFM
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": ${AUTHORIZATION}"}
...Test objective: The objective is to test the retrieval of all the available VNF performance thresholds and perform a JSON schema validation of the collected thresholds data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.