Commit b474d5d9 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed test ids and added void

parent 97bd5402
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -38,6 +38,17 @@ Create a duplicated Subscription
    Post Create subscription
    Check Response for duplicated subscription

Void
     [Documentation]    Test ID: 6.3.4.4.3
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

GET Subscriptions
    [Documentation]    Test ID: 6.3.4.4.4
    ...    Test title: GET Subscriptions
@@ -276,7 +287,7 @@ Get subscriptions with filter "filter.probableCauses"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_probableCauses"
    
POST Create a new Subscription - Unprocessable Entity
    [Documentation]    Test ID: 6.3.4.4.21
    [Documentation]    Test ID: 6.3.4.4.22
    ...    Test title: POST Create a new Subscription - Unprocessable Entity
    ...    Test objective: The objective is to test that content type of the payload body is supported and the payload body of a request contains syntactically correct data but the data cannot be processed.
    ...    re-conditions: none
@@ -511,3 +522,7 @@ Check Response for duplicated subscription
    Run Keyword If    ${VNFM_ALLOWS_DUPLICATE_SUBS} == 1    Check HTTP Response Status Code Is    201
    Run Keyword If    ${VNFM_ALLOWS_DUPLICATE_SUBS} == 1    Check HTTP Response Body Json Schema Is    FmSubscription
    Run Keyword If    ${VNFM_ALLOWS_DUPLICATE_SUBS} == 0    Check HTTP Response Status Code Is    303

Void
    log    do nothing
      
+28 −1
Original line number Diff line number Diff line
@@ -58,6 +58,17 @@ Get multi file VNFD in Individual VNF Package in Plain or Zip Format
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip

Void
     [Documentation]    Test ID: 7.3.3.4.5
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

Get VNFD in Individual VNF Package with invalid resource identifier
    [Documentation]    Test ID: 7.3.3.4.6
    ...    Test title: Get VNFD in Individual VNF Package with invalid resource identifier
@@ -183,6 +194,17 @@ Get multi file VNFD in Individual OnBoarded VNF Package in Plain or Zip Format
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip

Void
     [Documentation]    Test ID: 7.3.3.4.16
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

Get VNFD in Individual OnBoarded VNF Package with invalid resource identifier
    [Documentation]    Test ID: 7.3.3.4.17
    ...    Test title: Get VNFD in Individual OnBoarded VNF Package with invalid resource identifier
@@ -281,3 +303,8 @@ Get multi file VNFD in Individual OnBoarded VNF Package with security informatio
    Get multi file VNFD in Individual OnBoarded VNF Package with security information
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip
    
*** Keywords ***

Void
    log    do nothing
 No newline at end of file
+16 −0
Original line number Diff line number Diff line
@@ -107,6 +107,17 @@ Enable Individual Network Service Descriptor with HTTP Etag precondition failure
    Send PATCH to enable Individual Network Service Descriptor with HTTP Etag precondition failure
    Check HTTP Response Status Code Is    412

Void
     [Documentation]    Test ID: 5.3.1.2.8
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

DELETE Individual Network Service Descriptor
    [Documentation]    Test ID: 5.3.1.2.9
    ...    Test title:  DELETE Individual Network Service Descriptor
@@ -157,3 +168,8 @@ PUT Individual Network Service Descriptor - Method not implemented
    ...    Post-Conditions: none
    Send PUT Request for Individual Network Service Descriptor
    Check HTTP Response Status Code Is    405
    
*** Keywords ***

Void
    log    do nothing
+77 −3
Original line number Diff line number Diff line
@@ -8,6 +8,18 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_veri
Library           OperatingSystem

*** Test Cases ***

Void
     [Documentation]    Test ID: 5.3.1.3.1
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

Get NSD Content in Zip Format
    [Documentation]    Test ID: 5.3.1.3.2
    ...    Test title: Get NSD Content in Zip Format
@@ -21,6 +33,39 @@ Get NSD Content in Zip Format
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip

Void
     [Documentation]    Test ID: 5.3.1.3.3
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

Void
     [Documentation]    Test ID: 5.3.1.3.4
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

Void
     [Documentation]    Test ID: 5.3.1.3.5
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void
    
Get NSD Content with invalid resource identifier
    [Documentation]    Test ID: 5.3.1.3.6
    ...    Test title: Get NSD Content with invalid resource identifier
@@ -101,6 +146,18 @@ Upload NSD Content as Zip file in asynchronous mode
    Check HTTP Response Status Code Is    202
    Check Post Condition NSD Content has been Uploaded

Void
     [Documentation]    Test ID: 5.3.1.3.12
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void


Upload NSD Content as Zip file in synchronous mode
    [Documentation]    Test ID: 5.3.1.3.13
    ...    Test title: Upload NSD Content as Zip file in synchronous mode
@@ -114,6 +171,17 @@ Upload NSD Content as Zip file in synchronous mode
    Check HTTP Response Status Code Is    204
    Check Postcondition NSD Content is uploaded and available in the NFVO

Void
     [Documentation]    Test ID: 5.3.1.3.14
    ...    Test title: Void
    ...    Test objective: Void
    ...    Pre-conditions: Void
    ...    Reference: Void
    ...    Config ID: Void
    ...    Applicability: Void
    ...    Post-Conditions: Void
    Void

Upload NSD Content with conflict due to onboarding state
   [Documentation]    Test ID: 5.3.1.3.15
    ...    Test title: Upload NSD Content with conflict due to onboarding state
@@ -162,3 +230,9 @@ DELETE NSD Content - Method not implemented
    ...    Post-Conditions: none
    Send DELETE Request for NSD Content
    Check HTTP Response Status Code Is    405
    
    
*** Keywords ***

Void
    log    do nothing
 No newline at end of file
+13 −13
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ GET information about multiple alarms with "exclude_fields" attribute selector
    Check HTTP Response Body Json Schema Is    alarms  
    
PUT Alarms - Method not implemented
    [Documentation]    Test ID: 5.3.3.1.5
    [Documentation]    Test ID: 5.3.3.1.9
    ...    Test title: PUT Alarms - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed for Fault management alarms on NFV
    ...    Pre-conditions:  none
@@ -124,7 +124,7 @@ PUT Alarms - Method not implemented
    Check HTTP Response Status Code Is    405
    
PATCH Alarms - Method not implemented
    [Documentation]    Test ID: 5.3.3.1.6
    [Documentation]    Test ID: 5.3.3.1.10
    ...    Test title: PATCH Alarms - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not allowed for Fault management alarms on NFV
    ...    Pre-conditions:  none
@@ -136,7 +136,7 @@ PATCH Alarms - Method not implemented
    Check HTTP Response Status Code Is    405

DELETE Alarms - Method not implemented
    [Documentation]    Test ID: 5.3.3.1.7
    [Documentation]    Test ID: 5.3.3.1.11
    ...    Test title: DELETE Alarms - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not allowed for Fault management alarms on NFV
    ...    Pre-conditions:  none
@@ -148,7 +148,7 @@ DELETE Alarms - Method not implemented
    Check HTTP Response Status Code Is    405

GET information about multiple alarms as Paged Response
    [Documentation]    Test ID: 5.3.3.1.8
    [Documentation]    Test ID: 5.3.3.1.12
    ...    Test title: GET information about multiple alarms as Paged Response
    ...    Test objective: The objective is to retrieve information about the alarm list as paged response.
    ...    Pre-conditions:  none
@@ -161,7 +161,7 @@ GET information about multiple alarms as Paged Response
    Check HTTP Response Header Contains Location
    
GET information about multiple alarms - Bad Request Response too Big
    [Documentation]    Test ID: 5.3.3.1.9
    [Documentation]    Test ID: 5.3.3.1.13
    ...    Test title: GET information about multiple alarms - Bad Request Response too Big
    ...    Test objective:  The objective is to test that the retrieval of information about the alarm list fails because response is too big, and perform a JSON schema and content validation of the returned problem details data structure
    ...    Pre-conditions:  none
@@ -174,7 +174,7 @@ GET information about multiple alarms - Bad Request Response too Big
    Check HTTP Response Body Json Schema Is    ProblemDetails
    
GET information about multiple alarms with filter "id"
     [Documentation]    Test ID: 5.3.3.1.10
     [Documentation]    Test ID: 5.3.3.1.14
    ...    Test title: GET information about multiple alarms with filter "id"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "id" 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
@@ -188,7 +188,7 @@ GET information about multiple alarms with filter "id"
    Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "id"
    
GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNestedNsInstanceId"
     [Documentation]    Test ID: 5.3.3.1.11
     [Documentation]    Test ID: 5.3.3.1.15
    ...    Test title: GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNestedNsInstanceId"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyComponent.faultyNestedNsInstanceId" 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
@@ -202,7 +202,7 @@ GET information about multiple alarms with filter "rootCauseFaultyComponent.faul
    Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "rootCauseFaultyComponent_faultyNestedNsInstanceId"
    
GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNsVirtualLinkInstanceId"
     [Documentation]    Test ID: 5.3.3.1.12
     [Documentation]    Test ID: 5.3.3.1.16
    ...    Test title: GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNsVirtualLinkInstanceId"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyComponent.faultyNsVirtualLinkInstanceId" 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
@@ -216,7 +216,7 @@ GET information about multiple alarms with filter "rootCauseFaultyComponent.faul
    Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "faultyNsVirtualLinkInstanceId"
    
GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyVnfInstanceId"
     [Documentation]    Test ID: 5.3.3.1.13
     [Documentation]    Test ID: 5.3.3.1.17
    ...    Test title: GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyVnfInstanceId"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyComponent.faultyVnfInstanceId" 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
@@ -230,7 +230,7 @@ GET information about multiple alarms with filter "rootCauseFaultyComponent.faul
    Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "faultyVnfInstanceId"
    
GET information about multiple alarms with filter "rootCauseFaultyResource.faultyResourceType"
     [Documentation]    Test ID: 5.3.3.1.14
     [Documentation]    Test ID: 5.3.3.1.18
    ...    Test title: GET information about multiple alarms with filter "rootCauseFaultyResource.faultyResourceType"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyResource.faultyResourceType" 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
@@ -244,7 +244,7 @@ GET information about multiple alarms with filter "rootCauseFaultyResource.fault
    Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "faultyResourceType"
    
GET information about multiple alarms with filter "eventType"
     [Documentation]    Test ID: 5.3.3.1.15
     [Documentation]    Test ID: 5.3.3.1.19
    ...    Test title: GET information about multiple alarms with filter "eventType"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "eventType" 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
@@ -258,7 +258,7 @@ GET information about multiple alarms with filter "eventType"
    Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "eventType"
    
GET information about multiple alarms with filter "perceivedSeverity"
     [Documentation]    Test ID: 5.3.3.1.16
     [Documentation]    Test ID: 5.3.3.1.20
    ...    Test title: GET information about multiple alarms with filter "perceivedSeverity"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "perceivedSeverity" 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
@@ -272,7 +272,7 @@ GET information about multiple alarms with filter "perceivedSeverity"
    Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "perceivedSeverity"
    
GET information about multiple alarms with filter "probableCause"
     [Documentation]    Test ID: 5.3.3.1.17
     [Documentation]    Test ID: 5.3.3.1.21
    ...    Test title: GET information about multiple alarms with filter "probableCause"
    ...    Test objective: The objective is to retrieve information about the alarm list with filter "probableCause" 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
Loading