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

minor bugs fixed and redundant post-conditions removed

parent e5c19d11
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -16,31 +16,30 @@ Request to compile the logged data into a file - Synchronous mode
    ...    Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The NFV-MANO can decide immediately what to respond to a compile request
    ...    Post-Conditions: The compiled log information is available.
    ...    Post-Conditions: none
    Send Log data Request in Synchronous mode
    Check HTTP Response Status Code Is    201
    Check Operation Occurrence Id
    Check HTTP Response Header Contains Location
    Check HTTP Response Body Json Schema Is    LogReport


Request to compile the logged data into a file - Asynchronous mode
    [Documentation]    Test ID: 8.3.4.4.2
    ...    Test title: Request to compile the logged data into a file - Asynchronous mode
    ...    Test objective: The objective is to request to compile the logged data into a file in asynchronous mode and perform a JSON schema validation on the returned log report data structure
    ...    Test objective: The objective is to request to compile the logged data into a file in asynchronous mode
    ...    Pre-conditions: none
    ...    Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The NFV-MANO can not decide immediately what to respond to a compile request
    ...    Post-Conditions: The compiled log information is available.
    ...    Post-Conditions: none
    Send Log data Request in Asynchronous mode
    Check HTTP Response Status Code Is    202
    Check Operation Occurrence Id
    Check HTTP Response Header Contains Location
    Wait for compilation success notification 
    
Request to compile the logged data into a file - Already Processing
    [Documentation]    Test ID: 8.3.4.4.3
    ...    Test title: Request to compile the logged data into a file - Already Processing
    ...    Test objective: The objective is to request to compile the logged data into a file when a log data compilation and report creation is already ongoing, or a log report has just been created, for the specified logging job at the time of processing the request and perform a JSON schema validation on the returned log report data structure
    ...    Test objective: The objective is to request to compile the logged data into a file when a log data compilation and report creation is already ongoing, or a log report has just been created, for the specified logging job at the time of processing the request
    ...    Pre-conditions: none
    ...    Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
@@ -48,7 +47,7 @@ Request to compile the logged data into a file - Already Processing
    ...    Post-Conditions: none
    Send Log data Request
    Check HTTP Response Status Code Is    303
    Check Operation Occurrence Id
    Check HTTP Response Header Contains Location
    
Request to compile the logged data into a file with unprocessable entity
        [Documentation]    Test ID: 8.3.4.4.4
+4 −5
Original line number Diff line number Diff line
@@ -15,15 +15,14 @@ POST Individual Logging Job - Method not implemented
    ...    Reference: clause 8.5.4.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The Logging Job is not created on the NFV-MANO
    ...    Post-Conditions: none
    Send Post request for individual Logging Job
    Check HTTP Response Status Code Is    405
    Check Postcondition Logging Job is not Created

GET individual Logging Job
    [Documentation]    Test ID: 8.3.4.2.2
    ...    Test title: Get individual Logging Job
    ...    Test objective: The objective is to test the retrieval of an individual logging job and perform a JSON schema and content validation of the collected job data structure
    ...    Test objective: The objective is to test the retrieval of an individual logging job and perform a JSON schema validation of the collected job data structure
    ...    Pre-conditions: Logging Job is already created.
    ...    Reference: clause 8.5.4.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
@@ -55,7 +54,7 @@ PUT Individual Logging Job - Method not implemented
    ...    Reference: clause 8.5.4.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The Logging Job is not modified by the operation
    ...    Post-Conditions: none
    Send Put request for individual Logging Job
    Check HTTP Response Status Code Is    405

@@ -67,7 +66,7 @@ PATCH Individual Logging Job - Method not implemented
    ...    Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The Logging Job is not modified by the operation
    ...    Post-Conditions: none
    Send Patch request for individual Logging Job
    Check HTTP Response Status Code Is    405

+5 −9
Original line number Diff line number Diff line
@@ -15,10 +15,9 @@ POST Individual Log Report - Method not implemented
    ...    Reference: clause 8.5.5.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The log report is not created.
    ...    Post-Conditions: none
    Send Post request for Individual Log Report
    Check HTTP Response Status Code Is    405
    Check Postcondition Individual Log Report is not Created

Get Individual Log Report
    [Documentation]    Test ID: 8.3.4.3.2
@@ -66,10 +65,9 @@ PUT Individual Log Report - Method not implemented
    ...    Reference: clause 8.5.5.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The NFV-MANO log report is not modified by the operation
    ...    Post-Conditions: none
    Send Put request for Individual Log Report
    Check HTTP Response Status Code Is    405
    Check Postcondition Individual Log Report is Unmodified (Implicit)

PATCH Individual Log Report - Method not implemented
    [Documentation]    Test ID: 8.3.4.3.6
@@ -79,10 +77,9 @@ PATCH Individual Log Report - Method not implemented
    ...    Reference: clause 8.5.5.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The log report is not modified by the operation
    ...    Post-Conditions: none
    Send Patch request for Individual Log Report
    Check HTTP Response Status Code Is    405
    Check Postcondition Individual Log Report is Unmodified (Implicit)

DELETE Individual Log Report - Method not implemented
    [Documentation]    Test ID: 8.3.4.3.7
@@ -92,7 +89,6 @@ DELETE Individual Log Report - Method not implemented
    ...    Reference: clause 8.5.5.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The log report is not deleted by the operation
    ...    Post-Conditions: none
    Send Delete request for Individual Log Report
    Check HTTP Response Status Code Is    405
 No newline at end of file
    Check Postcondition Individual Log Report Exists
+5 −8
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ Resource NFVMANOLogManagementKeywords.robot
GET Individual Subscription
    [Documentation]    Test ID: 8.3.4.6.1
    ...    Test title: GET Individual  Subscription
    ...    Test objective: The objective is to test the retrieval of individual subscription and perform a JSON schema and content validation of the returned subscription data structure
    ...    Test objective: The objective is to test the retrieval of individual subscription and perform a JSON schema validation of the returned subscription data structure
    ...    Pre-conditions: At least one subscription is available in the NFV-MANO.
    ...    Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
@@ -66,10 +66,9 @@ POST Individual Subscription - Method not implemented
    ...    Reference: clause 8.5.8.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Performance Subscription is not created on the NFV-MANO
    ...    Post-Conditions: none
    Send Post request for individual Subscription
    Check HTTP Response Status Code Is    405
    Check Postcondition Subscription is not Created

PUT Individual Subscription - Method not implemented
    [Documentation]    Test ID: 8.3.4.6.6
@@ -79,10 +78,9 @@ PUT Individual Subscription - Method not implemented
    ...    Reference: clause 8.5.8.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The subscription is not modified by the operation
    ...    Post-Conditions: none
    Send Put request for individual Subscription
    Check HTTP Response Status Code Is    405
    Check Postcondition Subscription is Unmodified (Implicit)

PATCH Individual Subscription - Method not implemented
    [Documentation]    Test ID: 8.3.4.6.7
@@ -92,7 +90,6 @@ PATCH Individual Subscription - Method not implemented
    ...    Reference: clause 8.5.8.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The subscription is not modified by the operation
    ...    Post-Conditions: none
    Send Patch request for individual Threshold
    Check HTTP Response Status Code Is    405
 No newline at end of file
    Check Postcondition Subscription is Unmodified (Implicit)
 No newline at end of file
+29 −29
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ Library REST ${NFVMANO_SCHEMA}://${NFVMANO_HOST}:${NFVMANO_PORT}
POST Create a new logging job
    [Documentation]    Test ID: 8.3.4.1.1
    ...    Test title: POST Create a new logging job
    ...    Test objective: The objective is to create a new logging job
    ...    Test objective: The objective is to create a new logging job, and perform the JSON schema validation of the operation HTTP response.
    ...    Pre-conditions: none
    ...    Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
@@ -20,11 +20,12 @@ POST Create a new logging job
    Check HTTP Response Status Code Is    201
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is    LoggingJob
    Check Post-Condition Logging job is created
    
GET information about logging jobs 
    [Documentation]    Test ID: 8.3.4.1.2
    ...    Test title: GET information logging jobs
    ...    Test objective: The objective is to retrieve information about logging jobs
    ...    Test objective: The objective is to retrieve information about logging jobs, and perform the JSON schema validation of the operation HTTP response.
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
@@ -34,7 +35,6 @@ GET information about logging jobs
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    LoggingJobs
    
    
GET Logging jobs - invalid attribute-based filter
    [Documentation]    Test ID: 8.3.4.1.3
    ...    Test title: GET Logging jobs - invalid attribute-based filter
@@ -42,8 +42,8 @@ GET Logging jobs - invalid attribute-based filter
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging Job with invalid filter
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails   
@@ -55,8 +55,8 @@ GET Logging jobs - invalid attribute selector
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging Job with invalid selector
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails  
@@ -68,8 +68,8 @@ GET Logging jobs - Bad Request Response too Big
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
     GET Logging Jobs
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails 
@@ -81,8 +81,8 @@ GET information about logging jobs with attribute-based filter
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging Job with filter
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    LoggingJobs
@@ -94,35 +94,35 @@ GET information about logging jobs with "all_fields" attribute selector
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging jobs with all_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    LoggingJobs
    
GET information about Logging Jobs with exclude_default attribute selector
GET information about Logging Jobs with "exclude_default" attribute selector
    [Documentation]    Test ID: 8.3.4.1.8
    ...    Test title: GET information about Logging Jobs with "exclude_default" attribute selector
    ...    Test objective: The objective is to retrieve information about logging jobs with "exclude_default" attribute selector
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging Jobs with exclude_default attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    LoggingJobs

    
GET information about Logging Jobs with fields attribute selector
GET information about Logging Jobs with "fields" attribute selector
    [Documentation]    Test ID: 8.3.4.1.9
    ...    Test title: GET information about Logging Jobs with fields attribute selector
    ...    Test objective: The objective is to retrieve information about Logging Jobs with fields attribute selector
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging Jobs with fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    LoggingJobs
@@ -134,7 +134,7 @@ GET information about Logging Jobs with "exclude_fields" attribute selector
    ...    Pre-conditions: At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging Jobs with exclude_fields attribute selector
    Check HTTP Response Status Code Is    200
@@ -147,11 +147,11 @@ GET information about Logging Jobs with Paged Response
    ...    Pre-conditions:  At least one logging job is created.
    ...    Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Logging Jobs
    Check HTTP Response Status Code Is    200
    Check LINK in Header
    Check HTTP Response Header Contains Link
    
PUT Logging Jobs - Method not implemented
    [Documentation]    Test ID: 8.3.4.1.12
@@ -160,7 +160,7 @@ PUT Logging Jobs - Method not implemented
    ...    Pre-conditions: 
    ...    Reference: clause 8.5.3.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Applicability: none
    ...    Post-Conditions: none
    PUT Logging Jobs
    Check HTTP Response Status Code Is    405
@@ -169,10 +169,10 @@ PATCH Logging Jobs - Method not implemented
    [Documentation]    Test ID: 8.3.4.1.13
    ...    Test title: PATCH Logging Jobs - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Pre-conditions: none
    ...    Reference: clause 8.5.3.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Applicability: none
    ...    Post-Conditions: none
    PATCH Logging Jobs
    Check HTTP Response Status Code Is    405
@@ -181,10 +181,10 @@ DELETE Logging Jobs - Method not implemented
    [Documentation]    Test ID: 8.3.4.1.14
    ...    Test title: DELETE Logging Jobs - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Pre-conditions: none
    ...    Reference: clause 8.5.3.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Post-Conditions: Logging Job is not deleted.
    ...    Applicability: none
    ...    Post-Conditions: none
    DELETE Logging Jobs
    Check HTTP Response Status Code Is    405
Loading