Commit 4af90173 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed test ids and added voids as per 2.7.1 and 2.8.1

parent 66b100c1
Loading
Loading
Loading
Loading
+14 −1
Original line number Original line Diff line number Diff line
@@ -38,6 +38,16 @@ Create a duplicated Subscription
    Post Create subscription
    Post Create subscription
    Check Response for duplicated 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
GET Subscriptions
    [Documentation]    Test ID: 6.3.4.4.4
    [Documentation]    Test ID: 6.3.4.4.4
@@ -277,7 +287,7 @@ Get subscriptions with filter "filter.probableCauses"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_probableCauses"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_probableCauses"
    
    
POST Create a new Subscription - Unprocessable Entity
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 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.
    ...    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
    ...    re-conditions: none
@@ -290,6 +300,9 @@ POST Create a new Subscription - Unprocessable Entity
    Check HTTP Response Body Json Schema Is  ProblemDetails
    Check HTTP Response Body Json Schema Is  ProblemDetails


*** Keywords ***
*** Keywords ***
Void
    log    do nothing
    
Create Sessions
Create Sessions
    Start Process  java  -jar  ${MOCK_SERVER_JAR}    -serverPort  ${callback_port}  alias=mockInstance
    Start Process  java  -jar  ${MOCK_SERVER_JAR}    -serverPort  ${callback_port}  alias=mockInstance
    Wait For Process  handle=mockInstance  timeout=5s  on_timeout=continue
    Wait For Process  handle=mockInstance  timeout=5s  on_timeout=continue
+27 −1
Original line number Original line 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 Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip
    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
Get VNFD in Individual VNF Package with invalid resource identifier
    [Documentation]    Test ID: 7.3.3.4.6
    [Documentation]    Test ID: 7.3.3.4.6
    ...    Test title: Get VNFD in Individual VNF Package with invalid resource identifier
    ...    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 Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip
    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
Get VNFD in Individual OnBoarded VNF Package with invalid resource identifier
    [Documentation]    Test ID: 7.3.3.4.17
    [Documentation]    Test ID: 7.3.3.4.17
    ...    Test title: Get VNFD in Individual OnBoarded VNF Package with invalid resource identifier
    ...    Test title: Get VNFD in Individual OnBoarded VNF Package with invalid resource identifier
@@ -281,3 +303,7 @@ Get multi file VNFD in Individual OnBoarded VNF Package with security informatio
    Get multi file VNFD in Individual OnBoarded VNF Package with security information
    Get multi file VNFD in Individual OnBoarded VNF Package with security information
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip
    Check HTTP Response Header Content-Type Is    application/zip
    
*** Keywords ***
Void
    log    do nothing
+1 −1
Original line number Original line Diff line number Diff line
@@ -73,7 +73,7 @@ DELETE an individual subscription
    Check Postcondition VNF Virtualised Resources Quota Available Notification individual Subscriptions is Deleted
    Check Postcondition VNF Virtualised Resources Quota Available Notification individual Subscriptions is Deleted
    
    
Get Information about an individual subscription - Not Found
Get Information about an individual subscription - Not Found
    [Documentation]    Test ID: 7.3.7.2.2
    [Documentation]    Test ID: 7.3.7.2.6
    ...    Test title: Get Information about an individual subscription - Not Found
    ...    Test title: Get Information about an individual subscription - Not Found
    ...    Test objective: The objective is to test that the retrieval of an individual Virtualised Resources Quota Available Notification subscription subscribed by the client fils when resource is not present 
    ...    Test objective: The objective is to test that the retrieval of an individual Virtualised Resources Quota Available Notification subscription subscribed by the client fils when resource is not present 
    ...    Pre-conditions: The subscription with the given id does not exists
    ...    Pre-conditions: The subscription with the given id does not exists
+16 −0
Original line number Original line 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
    Send PATCH to enable Individual Network Service Descriptor with HTTP Etag precondition failure
    Check HTTP Response Status Code Is    412
    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
DELETE Individual Network Service Descriptor
    [Documentation]    Test ID: 5.3.1.2.9
    [Documentation]    Test ID: 5.3.1.2.9
    ...    Test title:  DELETE Individual Network Service Descriptor
    ...    Test title:  DELETE Individual Network Service Descriptor
@@ -157,3 +168,8 @@ PUT Individual Network Service Descriptor - Method not implemented
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Send PUT Request for Individual Network Service Descriptor
    Send PUT Request for Individual Network Service Descriptor
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    
*** Keywords ***
Void
    log    do nothing
   
 No newline at end of file
+73 −3
Original line number Original line Diff line number Diff line
@@ -8,6 +8,17 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_veri
Library           OperatingSystem
Library           OperatingSystem


*** Test Cases ***
*** 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
Get NSD Content in Zip Format
    [Documentation]    Test ID: 5.3.1.3.2
    [Documentation]    Test ID: 5.3.1.3.2
    ...    Test title: Get NSD Content in Zip Format
    ...    Test title: Get NSD Content in Zip Format
@@ -21,6 +32,39 @@ Get NSD Content in Zip Format
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip
    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
Get NSD Content with invalid resource identifier
    [Documentation]    Test ID: 5.3.1.3.6
    [Documentation]    Test ID: 5.3.1.3.6
    ...    Test title: Get NSD Content with invalid resource identifier
    ...    Test title: Get NSD Content with invalid resource identifier
@@ -101,6 +145,17 @@ Upload NSD Content as Zip file in asynchronous mode
    Check HTTP Response Status Code Is    202
    Check HTTP Response Status Code Is    202
    Check Post Condition NSD Content has been Uploaded
    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
Upload NSD Content as Zip file in synchronous mode
    [Documentation]    Test ID: 5.3.1.3.13
    [Documentation]    Test ID: 5.3.1.3.13
    ...    Test title: Upload NSD Content as Zip file in synchronous mode
    ...    Test title: Upload NSD Content as Zip file in synchronous mode
@@ -114,6 +169,17 @@ Upload NSD Content as Zip file in synchronous mode
    Check HTTP Response Status Code Is    204
    Check HTTP Response Status Code Is    204
    Check Postcondition NSD Content is uploaded and available in the NFVO
    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
Upload NSD Content with conflict due to onboarding state
   [Documentation]    Test ID: 5.3.1.3.15
   [Documentation]    Test ID: 5.3.1.3.15
    ...    Test title: Upload NSD Content with conflict due to onboarding state
    ...    Test title: Upload NSD Content with conflict due to onboarding state
@@ -162,3 +228,7 @@ DELETE NSD Content - Method not implemented
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Send DELETE Request for NSD Content
    Send DELETE Request for NSD Content
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    
*** Keywords ***
Void
    log    do nothing
Loading