Commit e1a6043b authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

Fixe typos on NFVMANOCIM API tests

parent 8e9b422a
Loading
Loading
Loading
Loading
+50 −50
Original line number Original line Diff line number Diff line
@@ -8,181 +8,181 @@ Library REST ${NFVMANO_SCHEMA}://${NFVMANO_HOST}:${NFVMANO_PORT}
Library           MockServerLibrary
Library           MockServerLibrary


*** Test Cases ***
*** Test Cases ***
POST Change State Operation Occurance - Method not implemented
POST Change State Operation Occurrence - Method not implemented
    [Documentation]    Test ID: 8.3.1.3.1
    [Documentation]    Test ID: 8.3.1.3.1
    ...    Test title: POST Change State Operation Occurance - Method not implemented
    ...    Test title: POST Change State Operation Occurrence - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemeted.
    ...    Test objective: The objective is to test that POST method is not implemeted.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.8.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Send Post request for Change State Operation Occurance
    Send Post request for Change State Operation Occurrence
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    
    
GET Change State Operation Occurance
GET Change State Operation Occurrence
    [Documentation]    Test ID: 8.3.1.3.2
    [Documentation]    Test ID: 8.3.1.3.2
    ...    Test title: GET Change State Operation Occurance
    ...    Test title: GET Change State Operation Occurrence
    ...    Test objective: The objective is to query status information about multiple change state operation occurrences.
    ...    Test objective: The objective is to query status information about multiple change state operation occurrences.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none 
    ...    Post-Conditions: none 
    Get Change State OpOcc
    Get Change State Operation Occurrence
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    ChangeStateOpOccs
    Check HTTP Response Body Json Schema Is    ChangeStateOpOccs
    
    
GET Change State Operation Occurance - invalid attribute-based filter
GET Change State Operation Occurrence - invalid attribute-based filter
    [Documentation]    Test ID: 8.3.1.3.3
    [Documentation]    Test ID: 8.3.1.3.3
    ...    Test title: GET Change State Operation Occurance - invalid attribute-based filter
    ...    Test title: GET Change State Operation Occurrence - invalid attribute-based filter
    ...    Test objective:  The objective is to test that the retrieval of Change State Operation Occurance fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Test objective:  The objective is to test that the retrieval of Change State Operation Occurrence fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Get Change State OpOcc with invalid filter
    Get Change State Operation Occurrence with invalid filter
    Check HTTP Response Status Code Is    400
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails   
    Check HTTP Response Body Json Schema Is    ProblemDetails   
    
    
GET Change State Operation Occurance - invalid attribute selector
GET Change State Operation Occurrence - invalid attribute selector
    [Documentation]    Test ID: 8.3.1.3.4
    [Documentation]    Test ID: 8.3.1.3.4
    ...    Test title: GET Change State Operation Occurance - invalid attribute selector
    ...    Test title: GET Change State Operation Occurrence - invalid attribute selector
    ...    Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Test objective: The objective is to test that the retrieval of Change State Operation Occurrence fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Get Change State OpOcc with invalid selector
    Get Change State Operation Occurrence with invalid selector
    Check HTTP Response Status Code Is    400
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails  
    Check HTTP Response Body Json Schema Is    ProblemDetails  
    
    
GET Change State Operation Occurance - Bad Request Response too Big
GET Change State Operation Occurrence - Bad Request Response too Big
    [Documentation]    Test ID: 8.3.1.3.5
    [Documentation]    Test ID: 8.3.1.3.5
    ...    Test title: GET Change State Operation Occurance - Bad Request Response too Big
    ...    Test title: GET Change State Operation Occurrence - Bad Request Response too Big
    ...    Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Test objective: The objective is to test that the retrieval of Change State Operation Occurrence fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Get Change State OpOcc
    Get Change State Operation Occurrence
    Check HTTP Response Status Code Is    400
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails
    Check HTTP Response Body Json Schema Is    ProblemDetails
    
    
GET Change State Operation Occurance with attribute-based filter
GET Change State Operation Occurrence with attribute-based filter
    [Documentation]    Test ID: 8.3.1.3.6
    [Documentation]    Test ID: 8.3.1.3.6
    ...    Test title: GET Change State Operation Occurance with attribute-based filter
    ...    Test title: GET Change State Operation Occurrence with attribute-based filter
    ...    Test objective: The objective is to query status information about multiple change state operation occurrences with attribute filters
    ...    Test objective: The objective is to query status information about multiple change state operation occurrences with attribute filters
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Get Change State OpOcc with filter
    Get Change State Operation Occurrence with filter
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    
    
GET Change State Operation Occurance with "all_fields" attribute selector
GET Change State Operation Occurrence with "all_fields" attribute selector
    [Documentation]    Test ID: 8.3.1.3.7
    [Documentation]    Test ID: 8.3.1.3.7
    ...    Test title: GET Change State Operation Occurance with "all_fields" attribute selector
    ...    Test title: GET Change State Operation Occurrence with "all_fields" attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurance with "all_fields" attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurrence with "all_fields" attribute selector
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Get Change State OpOcc with all_fields attribute selector
    Get Change State Operation Occurrence with all_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    
    
GET Change State Operation Occurance with "exclude_default" attribute selector
GET Change State Operation Occurrence with "exclude_default" attribute selector
    [Documentation]    Test ID: 8.3.1.3.8
    [Documentation]    Test ID: 8.3.1.3.8
    ...    Test title: GET Change State Operation Occurance with "exclude_default" attribute selector
    ...    Test title: GET Change State Operation Occurrence with "exclude_default" attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurance with "exclude_default" attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurrence with "exclude_default" attribute selector
    ...    Pre-conditions: 
    ...    Pre-conditions: 
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: 
    Get Change State OpOcc with all_fields attribute selector
    Get Change State Operation Occurrence with all_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc


    
    
GET Change State Operation Occurance with "fields" attribute selector
GET Change State Operation Occurrence with "fields" attribute selector
    [Documentation]    Test ID: 8.3.1.3.9
    [Documentation]    Test ID: 8.3.1.3.9
    ...    Test title: GET Change State Operation Occurance with "fields" attribute selector
    ...    Test title: GET Change State Operation Occurrence with "fields" attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurance with fields attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurrence with fields attribute selector
    ...    Pre-conditions: 
    ...    Pre-conditions: 
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: 
    Get Change State OpOcc with fields attribute selector
    Get Change State Operation Occurrence with fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
     
     
GET Change State Operation Occurance with "exclude_fields" attribute selector
GET Change State Operation Occurrence with "exclude_fields" attribute selector
    [Documentation]    Test ID: 8.3.1.3.10
    [Documentation]    Test ID: 8.3.1.3.10
    ...    Test title: GET Change State Operation Occurance with "exclude_fields" attribute selector
    ...    Test title: GET Change State Operation Occurrence with "exclude_fields" attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurance with "exclude_fields" attribute selector
    ...    Test objective: The objective is to retrieve Change State Operation Occurrence with "exclude_fields" attribute selector
    ...    Pre-conditions: 
    ...    Pre-conditions: 
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Applicability: 
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Get Change State OpOcc with exclude_fields attribute selector
    Get Change State Operation Occurrence with exclude_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    Check HTTP Response Body Json Schema Is    ChangeStateOpOcc
    
    
GET Change State Operation Occurance with Paged Response
GET Change State Operation Occurrence with Paged Response
    [Documentation]    Test ID: 8.3.1.3.11
    [Documentation]    Test ID: 8.3.1.3.11
    ...    Test title: GET Change State Operation Occurance with Paged Response
    ...    Test title: GET Change State Operation Occurrence with Paged Response
    ...    Test objective: The objective is to query Change State Operation Occurance to get Paged Response.
    ...    Test objective: The objective is to query Change State Operation Occurrence to get Paged Response.
    ...    Pre-conditions:  
    ...    Pre-conditions:  
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: 
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: 
    Get Change State OpOcc
    Get Change State Operation Occurrence
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check LINK in Header
    Check LINK in Header


PUT Change State Operation Occurance - Method not implemented
PUT Change State Operation Occurrence - Method not implemented
    [Documentation]    Test ID: 8.3.1.3.12
    [Documentation]    Test ID: 8.3.1.3.12
    ...    Test title: PUT Change State Operation Occurance - Method not implemented
    ...    Test title: PUT Change State Operation Occurrence - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemeted.
    ...    Test objective: The objective is to test that PUT method is not implemeted.
    ...    Pre-conditions: 
    ...    Pre-conditions: 
    ...    Reference: clause 5.5.8.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: 
    ...    Post-Conditions: 
    Send Put request for Change State Operation Occurance
    Send Put request for Change State Operation Occurrence
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    
    
PATCH Change State Operation Occurance - Method not implemented
PATCH Change State Operation Occurrence - Method not implemented
    [Documentation]    Test ID: 8.3.1.3.13
    [Documentation]    Test ID: 8.3.1.3.13
    ...    Test title: PATCH Change State Operation Occurance - Method not implemented
    ...    Test title: PATCH Change State Operation Occurrence - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemeted.
    ...    Test objective: The objective is to test that PATCH method is not implemeted.
    ...    Pre-conditions: 
    ...    Pre-conditions: 
    ...    Reference: clause 5.5.8.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: 
    ...    Post-Conditions: 
    Send Patch request for Change State Operation Occurance
    Send Patch request for Change State Operation Occurrence
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


DELETE Change State Operation Occurance - Method not implemented
DELETE Change State Operation Occurrence - Method not implemented
    [Documentation]    Test ID: 8.3.1.3.14
    [Documentation]    Test ID: 8.3.1.3.14
    ...    Test title: DELETE Change State Operation Occurance - Method not implemented
    ...    Test title: DELETE Change State Operation Occurrence - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemeted.
    ...    Test objective: The objective is to test that DELETE method is not implemeted.
    ...    Pre-conditions: 
    ...    Pre-conditions: 
    ...    Reference: clause 5.5.8.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.8.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: 
    ...    Post-Conditions: 
    Send Delete request for Change State Operation Occurance
    Send Delete request for Change State Operation Occurrence
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
 No newline at end of file
+32 −32

File changed.

Preview size limit exceeded, changes collapsed.

+50 −50

File changed.

Preview size limit exceeded, changes collapsed.