Loading SOL009/NFVMANOFaultManagement-API/Alarms.robot +72 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,78 @@ Get information about multiple alarms - Bad Request Response too Big Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails GET information about alarms with attribute-based filter "id" [Documentation] Test ID: 8.3.3.1.14 ... Test title: GET information about alarms with attribute-based filter "id" ... Test objective: The objective is to retrieve information about the alarm list with alarm filter "id" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "id" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarm Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "id" GET information about multiple alarms with attribute-based filter "managedObjectId" [Documentation] Test ID: 8.3.3.1.15 ... Test title: GET information about multiple alarms with attribute-based filter "managedObjectId" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "managedObjectId" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "managedObjectId" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "managedObjectId" GET information about multiple alarms with attribute-based filter "eventType" [Documentation] Test ID: 8.3.3.1.17 ... Test title: GET information about multiple alarms with attribute-based filter "eventType" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "eventType" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "eventType" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "eventType" GET information about multiple alarms with attribute-based filter "perceivedSeverity" [Documentation] Test ID: 8.3.3.1.18 ... Test title: GET information about multiple alarms with attribute-based filter "perceivedSeverity" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "perceivedSeverity" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "perceivedSeverity" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "perceivedSeverity" GET information about multiple alarms with attribute-based filter "probableCause" [Documentation] Test ID: 8.3.3.1.19 ... Test title: GET information about multiple alarms with attribute-based filter "probableCause" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "probableCause" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "probableCause" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "probableCause" PUT Alarms - Method not implemented [Documentation] Test ID: 8.3.3.1.7 ... Test title: PUT Alarms - Method not implemented Loading SOL009/NFVMANOFaultManagement-API/FaultManagement-APIKeyword.robot +26 −1 Original line number Diff line number Diff line Loading @@ -331,3 +331,28 @@ Check Individual Subscription deleted Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} Integer response status 404 GET Alarms Task with filter "id" Log Query NFV-MANO The GET method queries information about multiple alarms with filters "id". Set Headers {"Accept":"${ACCEPT}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/alarms?id=${alarmId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "id" Should Be Equal As Strings ${response['body']['id']} ${alarmId} GET Alarms Task with filter "managedObjectId" Log Query VNF The GET method queries information about multiple alarms with filters "vnfcInstanceIds". Set Headers {"Accept":"${ACCEPT}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/alarms?vnfcInstanceIds=${managedObjectId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "managedObjectId" Should Be Equal As Strings ${response['body']['managedObjectId']} ${managedObjectId} SOL009/NFVMANOFaultManagement-API/environment/variables.txt +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ ${CONTENT_TYPE_PATCH} application/merge-patch+json ${alarm_filter} managedObjectId ${managedObjectId} 007c111c-38a1-42c0-a666-7475ecb1567c ${eventType} COMMUNICATIONS_ALARM ${probableCause} "" ${perceivedSeverity} CRITICAL ${invalid_alarm_filter} badFilter ${alarmId} 6fc3539c-e602-4afa-8e13-962fb5a7d81d Loading Loading
SOL009/NFVMANOFaultManagement-API/Alarms.robot +72 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,78 @@ Get information about multiple alarms - Bad Request Response too Big Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails GET information about alarms with attribute-based filter "id" [Documentation] Test ID: 8.3.3.1.14 ... Test title: GET information about alarms with attribute-based filter "id" ... Test objective: The objective is to retrieve information about the alarm list with alarm filter "id" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "id" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarm Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "id" GET information about multiple alarms with attribute-based filter "managedObjectId" [Documentation] Test ID: 8.3.3.1.15 ... Test title: GET information about multiple alarms with attribute-based filter "managedObjectId" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "managedObjectId" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "managedObjectId" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "managedObjectId" GET information about multiple alarms with attribute-based filter "eventType" [Documentation] Test ID: 8.3.3.1.17 ... Test title: GET information about multiple alarms with attribute-based filter "eventType" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "eventType" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "eventType" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "eventType" GET information about multiple alarms with attribute-based filter "perceivedSeverity" [Documentation] Test ID: 8.3.3.1.18 ... Test title: GET information about multiple alarms with attribute-based filter "perceivedSeverity" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "perceivedSeverity" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "perceivedSeverity" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "perceivedSeverity" GET information about multiple alarms with attribute-based filter "probableCause" [Documentation] Test ID: 8.3.3.1.19 ... Test title: GET information about multiple alarms with attribute-based filter "probableCause" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "probableCause" ... Pre-conditions: ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: GET Alarms Task with filter "probableCause" Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is Alarms Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "probableCause" PUT Alarms - Method not implemented [Documentation] Test ID: 8.3.3.1.7 ... Test title: PUT Alarms - Method not implemented Loading
SOL009/NFVMANOFaultManagement-API/FaultManagement-APIKeyword.robot +26 −1 Original line number Diff line number Diff line Loading @@ -331,3 +331,28 @@ Check Individual Subscription deleted Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} Integer response status 404 GET Alarms Task with filter "id" Log Query NFV-MANO The GET method queries information about multiple alarms with filters "id". Set Headers {"Accept":"${ACCEPT}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/alarms?id=${alarmId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "id" Should Be Equal As Strings ${response['body']['id']} ${alarmId} GET Alarms Task with filter "managedObjectId" Log Query VNF The GET method queries information about multiple alarms with filters "vnfcInstanceIds". Set Headers {"Accept":"${ACCEPT}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/alarms?vnfcInstanceIds=${managedObjectId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "managedObjectId" Should Be Equal As Strings ${response['body']['managedObjectId']} ${managedObjectId}
SOL009/NFVMANOFaultManagement-API/environment/variables.txt +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ ${CONTENT_TYPE_PATCH} application/merge-patch+json ${alarm_filter} managedObjectId ${managedObjectId} 007c111c-38a1-42c0-a666-7475ecb1567c ${eventType} COMMUNICATIONS_ALARM ${probableCause} "" ${perceivedSeverity} CRITICAL ${invalid_alarm_filter} badFilter ${alarmId} 6fc3539c-e602-4afa-8e13-962fb5a7d81d Loading