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

[test-new][SOL002][VNF-LCM][v5.2.1][6.3.5.16.11 Test-ID] Implement 401 error response for LCM APIs

parent 7a19d757
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -134,6 +134,19 @@ Post Cancel operation task - STARTING
    Check HTTP Response Status Code Is    202
    Check operation resource state is ROLLED_BACK
    
Cancel operation task - Unauthorized
    [Documentation]    Test ID: 6.3.5.16.11
    ...    Test title: Post Cancel operation task - Unauthorized 
    ...    Test objective: The objective is to cancel operation task without authorization
    ...    Pre-conditions: The "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state 
    ...    Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v5.1.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: none
    ...    Post-Conditions: none
    POST Cancel operation 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}"}