WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
Check HTTP Response Body Json Schema IsvnfConfiguration
${json}=evaluatejson.loads('''${result}''')json
Check Postcondition VNF Configuration Untouched
Validate JsonvnfConfiguration.schema.json${json}
LogValidation OK
PUT Config - Method not implemented
PUT Config - Method not implemented
logTrying to perform a PUT. This method should not be implemented
logTrying to perform a PUT. This method should not be implemented
@@ -41,22 +39,59 @@ PUT Config - Method not implemented
LogValidate Status code
LogValidate Status code
Integerresponse status405
Integerresponse status405
PATCH Config
Set new VNF Configuration
[Documentation]Test ID: 9.4.2.1
...Test title: Set a new VNF Configuration
...Test objective: The objective is to test the creation of a new VNF configuration
...Pre-conditions: A VNF instance is up and running
...Reference: section 9.4.2 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: The VNF supports the generation of HTTP Etag opaque identifiers
...Post-Conditions: The VNF configuration is set
Send VNF configuration
Check HTTP Response Status Code Is200
Check HTTP Response Header ContainsEtag
Check HTTP Response Body Json Schema IsvnfConfiModifications
Check Postcondition VNF Is Configured
Set new VNF Configuration - HTTP Etag precondition failed
[Documentation]Test ID: 9.4.2.3
...Test title: Set a new VNF Configuration - HTTP Etag precondition failed
...Test objective: The objective is to test the failure in setting a duplication of VNF configuration identified by an already used HTTP Etag identifier.
...Pre-conditions: A VNF instance is up and running. The VNF instance is already configured (Test ID: 9.4.2.1) with a given HTTP Etag identifier.
...Reference: section 9.4.2 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: The VNF supports the generation of HTTP Etag opaque identifiers
...Post-Conditions:The VNF configuration is not modified by the operation
Send Duplicated VNF configuration
Check HTTP Response Status Code Is412
Check HTTP Response Body Json Schema IsProblemDetails
Check Postcondition VNF Configuration Untouched
DELETE Config - Method not implemented
logTrying to perform a DELETE. This method should not be implemented
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
@@ -19,6 +19,14 @@ POST Alarm - Method not implemented
Integerresponse status405
Integerresponse status405
Get information about a configuration
Get information about a configuration
[Documentation]Test ID: 7.4.3.1
...Test title: Get information about an alarm
...Test objective: The objective is to read an individual alarm.
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogQuery VNF The GET method queries information about an alarm.
LogQuery VNF The GET method queries information about an alarm.
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
@@ -44,7 +52,14 @@ PUT Alarm - Method not implemented
Integerresponse status405
Integerresponse status405
PATCH Alarm
PATCH Alarm
[Documentation]This method modifies an individual alarm resource
[Documentation]Test ID: 7.4.3.2
...Test title: Modify an individual alarm resource
...Test objective: The objective is to Modify an individual alarm resource
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logTrying to perform a PATCH. This method modifies an individual alarm resource
logTrying to perform a PATCH. This method modifies an individual alarm resource
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_PATCH}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_PATCH}"}
@@ -62,10 +77,14 @@ PATCH Alarm
LogValidation OK
LogValidation OK
PATCH Alarm - Conflict
PATCH Alarm - Conflict
[Documentation]Conflict
[Documentation]Test ID: 7.4.3.2-1
...The operation cannot be executed currently, due to a conflict with the state of the �Individual alarm� resource.
...Test title: Modify an individual alarm resource - Conflict
...Typically, this is due to the fact that the alarm is already in the state that is requested to be set (such as trying to acknowledge an already-acknowledged alarm).
...Test objective: The objective is to Modify an individual alarm resource
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions: The alarm resource is not modified
Depends On TestPATCH Alarm# If the previous test scceeded, it means that the alarm is in ackownledged state
Depends On TestPATCH Alarm# If the previous test scceeded, it means that the alarm is in ackownledged state
logTrying to perform a PATCH. This method modifies an individual alarm resource
logTrying to perform a PATCH. This method modifies an individual alarm resource
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Accept":"${ACCEPT}"}
@@ -81,10 +100,14 @@ PATCH Alarm - Conflict
LogValidation OK
LogValidation OK
PATCH Alarm - Precondition failed
PATCH Alarm - Precondition failed
[Documentation]Precondition Failed
[Documentation]Test ID: 7.4.3.2-1
...A precondition given in an HTTP request header is not fulfilled. Typically, this is due to an ETag mismatch,
...Test title: Modify an individual alarm resource - Precondition failed
...indicating that the resource was modified by another entity. The response body should contain a ProblemDetails structure,
...Test objective: The objective is to Modify an individual alarm resource
...in which the �detail� attribute should convey more information about the error.
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions: The alarm resource is not modified
Depends On TestPATCH Alarm# If the previous test scceeded, it means that Etag has been modified
Depends On TestPATCH Alarm# If the previous test scceeded, it means that Etag has been modified
logTrying to perform a PATCH. This method modifies an individual alarm resource
logTrying to perform a PATCH. This method modifies an individual alarm resource