Commit 98912307 authored by Najam UI Hassan's avatar Najam UI Hassan Committed by Giacomo Bernini
Browse files

minor bugs fix added

parent 163566d8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ Library JSONLibrary
Library    JSONSchemaLibrary    schemas/
Library    OperatingSystem


*** Test Cases ***
POST Alarms - Method not implemented
     [Documentation]    Test ID: 8.3.3.1.1
+8 −9
Original line number Diff line number Diff line
@@ -7,12 +7,10 @@ Library JSONLibrary
Library    JSONSchemaLibrary    schemas/
Library    DependencyLibrary



*** Test Cases ***
POST Alarm - Method not implemented
POST Individual Alarm - Method not implemented
     [Documentation]    Test ID: 8.3.3.2.1
    ...    Test title: POST Alarm - Method not implemented
    ...    Test title: POST Individual Alarm - Method not implemented
    ...    Test objective: The objective is to test that Post method is not allowed to create fault management individual alarm on NFV-MANO 
    ...    Pre-conditions: none
    ...    Reference: clause 7.5.4.3.1 - ETSI GS NFV-SOL 009 [6] V3.3.1
@@ -46,11 +44,12 @@ Get information about an fault management individual alarm - Not Found
    ...    Post-Conditions: none
    GET Fault Management Individual Alarm
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is    ProblemDetails

PUT Alarm - Method not implemented
PUT Individual Alarm - Method not implemented
    [Documentation]    Test ID: 8.3.3.2.4
    ...    Test title: PUT Alarm - Method not implemented
    ...    Test objective: he objective is to test that PUT method is not allowed to for fault management individual alarm on NFV-MANO 
    ...    Test title: PUT Individual Alarm - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed to for fault management individual alarm on NFV-MANO 
    ...    Pre-conditions: none
    ...    Reference: clause 7.5.4.3.3 - ETSI GS NFV-SOL 009 [6] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
@@ -100,9 +99,9 @@ Modify an individual alarm resource - Conflict
    Check HTTP Response Body Json Schema Is     ProblemDetails
    Check Postcondition fault management individual alarm exists

DELETE Alarm - Method not implemented
DELETE Individual Alarm - Method not implemented
     [Documentation]    Test ID: 8.3.3.2.8
    ...    Test title: DELETE Alarm - Method not implemented
    ...    Test title: DELETE Individual Alarm - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not allowed to delete fault management individual alarm on NFV-MANO.
    ...    Pre-conditions: none
    ...    Reference: clause 7.5.4.3.5 - ETSI GS NFV-SOL 009 [6] V3.3.1
+2 −2
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ DELETE an individual subscription
    ...    Reference: clause 7.5.6.3.5 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability:  none
    ...    Post-Conditions:  subscription is not deleted
    ...    Post-Conditions:  subscription is deleted
    DELETE Individual Subscription
    Check HTTP Response Status Code Is    204
    Check Individual Subscription deleted
 No newline at end of file
+17 −18
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ Create a new alarm subscription - NO DUPLICATION
    ...    Pre-conditions: subscription with the same filter and callbackUri exists
    ...    Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID:   Config_prod_NFV-MANO
    ...    Applicability: the NFV-MANO decides to not create a duplicate subscription resource 
    ...    Applicability: the NFV-MANO does not allow to create a duplicate subscription resource 
    ...    Post-Conditions: duplicated subscription is not created
    POST Subscription Duplication not permitted
    Check HTTP Response Status Code Is    303
@@ -122,26 +122,25 @@ GET Subscription with attribute-based filter "id"
    [Documentation]    Test ID: 8.3.3.3.9
    ...    Test title: GET Subscription with attribute-based filter "id"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "id"
    ...    Pre-conditions: 
    ...    Pre-conditions: none
    ...    Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability:  
    ...    Post-Conditions: 
    ...    Applicability:  none
    ...    Post-Conditions: none
    Get subscriptions with filter "id"
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   FmSubscription
    Check PostCondition HTTP Response Body Subscription Matches the requested attribute-based filter "id"
    
    
Get subscriptions with filter "filter.notificationTypes"
    [Documentation]    Test ID: 8.3.3.3.10
    ...    Test title: GET Subscription with attribute-based filter "filter.notificationTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.notificationTypes"
    ...    Pre-conditions: 
    ...    Pre-conditions: none
    ...    Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability:  
    ...    Post-Conditions: 
    ...    Applicability:  none
    ...    Post-Conditions: none 
    Get subscriptions with filter "filter_notificationTypes"
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   FmSubscriptions 
@@ -151,11 +150,11 @@ Get subscriptions with filter "filter.perceivedSeverities"
    [Documentation]    Test ID: 8.3.3.3.11
    ...    Test title: GET Subscription with attribute-based filter "filter.perceivedSeverities"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.perceivedSeverities"
    ...    Pre-conditions: 
    ...    Pre-conditions: none
    ...    Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability:  
    ...    Post-Conditions: 
    ...    Applicability:  none
    ...    Post-Conditions: none
    Get subscriptions with filter "filter_perceivedSeverities"
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   FmSubscriptions
@@ -165,11 +164,11 @@ Get subscriptions with filter "filter.eventTypes"
    [Documentation]    Test ID: 8.3.3.3.12
    ...    Test title: GET Subscription with attribute-based filter "filter.eventTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.eventTypes"
    ...    Pre-conditions: 
    ...    Pre-conditions: none
    ...    Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability:  
    ...    Post-Conditions: 
    ...    Applicability:  none
    ...    Post-Conditions: none
    Get subscriptions with filter "filter_eventTypes"
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   FmSubscriptions
@@ -179,11 +178,11 @@ Get subscriptions with filter "filter.probableCauses"
    [Documentation]    Test ID: 8.3.3.3.13
    ...    Test title: GET Subscription with attribute-based filter "filter.probableCauses"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.probableCauses"
    ...    Pre-conditions: 
    ...    Pre-conditions: none
    ...    Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability:  
    ...    Post-Conditions: 
    ...    Applicability:  none
    ...    Post-Conditions: none
    Get subscriptions with filter "filter_probableCauses"
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   FmSubscriptions
@@ -221,6 +220,6 @@ DELETE subscriptions - Method not implemented
    ...    Reference: clause 7.5.5.3.5 - ETSI GS NFV-SOL 009 [6] v3.3.1
    ...    Config ID:  Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: subscription is not deleted
    ...    Post-Conditions: none
    DELETE Subscriptions
    Check HTTP Response Status Code Is    405
 No newline at end of file