Commit 682d7cc2 authored by Eisha Ayaz's avatar Eisha Ayaz Committed by Giacomo Bernini
Browse files

[test-new][SOL003][VNF-LCM][v5.2.1][7.3.1.39.10 Test-ID] Extend 401 error responses for LCM APIs

parent 5efb4a15
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -121,6 +121,19 @@ POST Revert to VNF Snapshot Task with not permitted authorization scope
    Check HTTP Response Status Code Is    403
    Check HTTP Response Body Json Schema Is    ProblemDetails 

POST Revert to VNF Snapshot Task - Unauthorized
    [Documentation]    Test ID:7.3.1.39.10
    ...    Test title: POST Revert to VNF Snapshot Task - Unauthorized
    ...    Test objective: The objective is to test that POST method requests reverting a VNF/VNFC instance to a VNF/VNFC snapshot without authorization.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.4.22.3.1 - ETSI GS NFV-SOL 003 [1] v5.1.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: in response header Location shall not be null         
    POST Revert to VNF Snapshot Task - Unauthorized
    Check HTTP Response Status Code Is    401    
    Check HTTP Response Body Json Schema Is    ProblemDetails 

*** Keywords ***
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"}